I have a website in C# using Razor for WebPages, and have found the WebGrid to be a bit of a pain to work with since I am trying to edit quantities in rows. I found this:
http://www.datatables.net/index
But all the samples are in PHP. Can this work in C#? Have you used this/would you recommend this?
DataTablesis mainly javascript/jquery and works with most any server-side language, includingASP.net:http://www.datatables.net/development/server-side/asp_net
Remember server side objects like datagrids, gridviews, datalists, etc simply translate into html tables when your page is displayed in the browser.
DataTablessimply allows you to take the handle (the id) of the table and translate it to adatatablewith simple jquery.From the example on the site:
$('#example').dataTable();Assumes a table with the id
example.