2 Replies Latest reply on Dec 22, 2011 3:26 AM by AVKRFLEX

    Sorting functionality in the advanced datagrid with null values

    AVKRFLEX Level 1

      Hi all,


      I'm facing the problem to do a sorting of a column in advanced datagrid , alphanumeric asc/desc sort and numeric sort but empty entries always should be at the end.


      I read already a thread here on forum where it is mentioned to split the empty values into an own array and later put it on the end.


      Do you know how to make this? I haven't found anything on the web, which could help me. And I never worked with the SortCompareFunction.


      Thats the mxml code line I work with:

       

       

      If you know guys pls reply for this discussion ASAP

       

       

       

       

       

      Thanks,

      Anderson.