Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
360
Sorting column from left to right instead of click history order.
posted

Hello,

We are currently migrating our product from an old grid component to the last igGrid component bind to an ODataSource. I would  like to know if  it's possible to achieve the same sorting  feature that we had before: 

for exmple I have a grid  with   5 columns like below:  

 | Id | FirstName | LastName | Age | Town |

If I click on LastName then  FirstName the sort order with the igGrid is the click order:

LastName, FirstName.

I would like to keep the sort order of my old grid that was from the column position (left to right):

FirstName,LastName.

Is there a way to do so ?

Thanks.

Btw: I forgot I am using grouping too that should be first in the $orderby of the OData request.

Parents Reply Children
No Data