|
Title: Datagrid multiple sort directly via javascript Post by: aswzen on September 01, 2015, 12:25:12 AM How to do multiple sorting via javascript? and with different order
I saw on documentation that sort method only accept one column My table properties : Code: <table class="easyui-datagrid" title="Multiple Sorting" style="width:700px;height:250px" So how to make it multiple sort? I tried like this Code: $('#dg').datagrid('sort', { // FIRST SORT -- ASCENDINGhere the fiddle for sandbox (just sort the productname and unitcost) http://jsfiddle.net/v6njm7a7/ Thank you in advance :) Title: Re: Datagrid multiple sort directly via javascript Post by: aswzen on September 01, 2015, 12:56:36 AM found it
Code: $('#dg').datagrid('sort', { I think It's better to put this information on documentation |