View Code? Open in Web Editor
NEW
Sample ASP.NET MVC3 project to demonstrate server-side paging with PetaPoco and DataTables
Home Page: http://www.woodcp.com/2012/02/server-side-paging-with-petapoco-and-datatables/
License: Other
Shell 0.02%
CSS 23.10%
C# 8.98%
ASP 0.01%
JavaScript 67.89%
petapocopage's People
Contributors
petapocopage's Issues
Noticed that grids with large numbers of columns will get sorted alphabetically instead of in the numeric order specified by DataTables.
For example:
- mDataProp_1
- mDataProp_10
- mDataProp_2
- ...
Update the LINQ query to strip the column prefix and then sort the suffix by integer.
Desired Result:
- mDataProp_1
- mDataProp_2
- ...
- mDataProp_10