Title: eDatagrid: How to enable sorting on any column header that is clicked? Post by: simplescience on June 04, 2015, 06:02:41 PM I created an edatagrid and it seems to be working. We would like to sort the grid based on clicking a header name. I see that if I add the "sortable:true" to the "Columns" array, I can click each header, and the asc, desc and reset options work.. but no sorting occurs. Also.. when I add the Columns array, I cannot edit any of the rows.
Is there something I've missed? Thanks... Title: Re: eDatagrid: How to enable sorting on any column header that is clicked? Post by: jarry on June 04, 2015, 06:55:37 PM Please set the 'remoteSort' property to false.
Code: $('#dg').datagrid({ If you want to use the remote sorting, you have to do the sorting in your server side and then return the sorted data back to the browser. |