Im using ui-grid to load my data set. Here is my requirment;
step 01: I want to load dataset_01 (scope.gridOptions.data = res_01;
).
step 02: I want to sort by First Name (Click by firstname
column).
step 03: Click an external button and Reload ui-grid with an another data set (scope.gridOptions.data = res_02;
).
Here is my result:
I dont want sort by First Name
here for second dataset.
I want data without sorting. How can I do it ?
Expected result:
So I want to reload second data set without sorting (Means I want to remove first sorting before load second data set). how can I reset my ui-grid before load next data set (scope.gridOptions.data = res_01;
).
How can I do it ?
Thank you. :)