How do I disable Sorting for certain Columns of CRUD grid?
- Single Page
Posted 11 September 2012 - 12:14 PM
Thanks
Posted 11 September 2012 - 17:29 PM
http://www.grocerycrud.com/documentation/options_functions/unset_columns
http://www.grocerycrud.com/documentation/options_functions/unset_add_fields
http://www.grocerycrud.com/documentation/options_functions/unset_edit_fields
It is you want?
Posted 11 September 2012 - 17:32 PM
I basically want to show the field on the Grid just like normal, except that when I click on the heading of that specific Column, it doesn't perform a sorting of Order By Ascending/Descending at all.
I hope I'm able to explain correctly. Please let me know.
Posted 11 September 2012 - 17:52 PM
Posted 12 September 2012 - 06:31 AM
Posted 12 September 2012 - 12:33 PM
If you're using the datatables theme, you can do it with bSortable:
http://datatables.net/ref#bSortable
But it requires that you initialize datatables for each page separately... gets a bit more complicated.
Don't know about Flexigrid...