Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to show data in tabular format in view where i am using MVC3.
I also want to used html5 data grid element..
For view i am using html5..so how can i show data...is there any control like data grid in html 5 or any example where i can refer.

thank you
Posted
Updated 2-Oct-11 22:39pm
v4

1 solution

With MVC you can render a simple HTML table in your view and use something like jQuery's DataTables plugin to provide paging, sorting etc.

http://datatables.net/[^]

There's a good CP article on this topic too:

jQuery DataTables and ASP.NET MVC Integration - Part I[^]
 
Share this answer
 
Comments
vishal_h 3-Oct-11 4:39am    
by using HTML5 is there any same example
jim lahey 3-Oct-11 10:30am    
You can make it pass HTML 5 validation:

http://datatables.net/forums/discussion/6389/html-5-validation/p1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900