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
1965
example of custom sorting
posted

Hi,

 

Suppose I have a column with the following values: Name2, name3, Name1 and Name2. I i sort it will come as ascending or descending but what If i want to get the following order:

Name1,Name3,Name2,Name4 ..(ascending)

Name4,Name2,Name3,Name1..(desc)

Please give me an example to get this working

 

thanks

Lubna

 

  • 33839
    Suggested Answer
    posted

    Hi dev_here,

    You should implement custom sorting use the CustomDataBinding methods on the ContainerGrid.  With the WebHierarchicalDataGrid, you need to pass in data that is hierarchical, though.

    regards,
    David Young