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
380
How to sort based on method, not raw contents of cell?
posted

I need to sort my grid based on  method that takes the contents of two columns of row.  

like f( col1, col2)  .

I can't just use the raw value of the columns  -- how do I do this?

 

 

Parents
  • 380
    posted

    additional info

    I am doing something like this now:

    fieldLayout.SortedFields.Add(

    new FieldSortDescription(ColumnName1, e.SortDescription.Direction, false

    ));

    fieldLayout.SortedFields.Add(

    new FieldSortDescription(ColumnName2, e.SortDescription.Direction, false

    ));

     

    and I need something like  fieldLayout.SortedFields.Add( fx(Column1, Column2));

     

    thanks

     

     

Reply Children