MVCGrid.Net
MVCGrid.Net copied to clipboard
Bootstrap table classes
The grids are rendered with bootstrap table classes:
<table id="MVCGridTable_DirectoryGridDepartment" class="table table-striped table-bordered">
...
</table>
I need to create different grids in the same project, and I want to use different class names on each one.
How can I alter table classes?
Thanks
I'd like the table to use the table-condensed class. I can add it in the ready function, but it loses it when I page. Where do I set it so that it stays when I page the grid?
I've another vote for being able to specify CSS classes that are then rendered in the table element. Overall the support is quite good with the ability to specify custom classes for rows and columns dynamically based on row data, but I'm surprised I haven't found any easy way to just add a class to the table itself.