Is that possible to sort grid columns by column order dynamically using JQWidgets(v2.8.2)?
Sort Grid Columns by "column_order" in JQWidgets
2k Views Asked by silk_route11 At
2
There are 2 best solutions below
2
On
You can use the "sortby" method.
$('#jqxgrid').jqxGrid('sortby', 'firstname', 'asc');
Example: http://jsfiddle.net/jqwidgets/7yWdu/. Hope it helps you.
Before generating the grid by
I sorted the the columns by
columnOrderwithsortColumnByOrder(colData.columns, 'columnOrder');The original method is like belowAnd its working properly.