MVCGrid.Net icon indicating copy to clipboard operation
MVCGrid.Net copied to clipboard

Bootstrap table classes

Open gormus opened this issue 7 years ago • 2 comments

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

gormus avatar May 24 '17 22:05 gormus

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?

raynebair avatar Jul 07 '17 20:07 raynebair

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.

NightWatchman avatar Apr 18 '18 16:04 NightWatchman