User selectable rows (multiple rows)

User selectable rows (multiple rows)

JoeJoe Posts: 2Questions: 0Answers: 0
edited October 2009 in General
Hi, Sorry for what is likely to be a couple of newbie questions but I was following the user selectable rows example at http://www.datatables.net/examples/api/select_row.html in conjunction with using ASP.NET MVC and the MVC Contrib grid.

1. The document says it uses fnRowCallback() but I dont see that when I look at the source for the page. Is it using it somehow behind the scenes?

2. I can get the multiple row highlighting to work if I use my own table but not with the mvc contrib table. It seems its due to the class="display" attribute of the table. The Html.Grid is generating a table with class="grid". How do I change the style sheet so it can use class="grid" as well as class="display"(I'm new to this html stuff, is there a simpler way?).

Replies

  • JoeJoe Posts: 2Questions: 0Answers: 0
    I think I got it. In demo_tables.css I changed tables.display to tables.grid
This discussion has been closed.