Hi everyone!
I'm working with the Tailwind KTDataTable component in a Blazor project, and I'd really appreciate some help.
I'm trying to implement client-side paging while working with an API endpoint for the data.
Has anyone here tackled something similar and can share the best approach?
Also, I noticed that the documentation is a bit lacking when it comes to API usage, and I'm struggling to find detailed info.
Additionally, I'm curious if it's possible to set certain columns as hidden or not.
Thanks in advance!
Hi
The current KtUI DataTable options do not have built-in “hidden” or “visible” column setting. As a workaround you can:
- Omit the column from the table markup (no <th> / <td> for that field), or
- Hide it with CSS (e.g. a class or nth-child on the corresponding th/td).
share how you’re initializing the DataTable (config object and where you call it from Blazor), and we can narrow it down.