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
20
Sorting a column by Text, not Value
posted

Hello,

Seemingly simple question here.  I've got a WebDataGrid wherein each cell has different Value and Text attributes.  Currently, sorting a column within the grid appears to sort by Value.  Is there a way (either on a column-by-column basis or for the entire grid) to change this such that columns are sorted by Text instead?

 

Thanks for your time.

Kevin

  • 2783
    Suggested Answer
    posted

    Hi Kevin,

    There is no property that you can set to make the grid sort the Text, instead of the values.  The grid tries to use the Datasource's sorting capability to sort the data, and the datasource of course sorts by the values.

    Thanks
    Olga