6 Replies Latest reply on Sep 16, 2009 8:57 AM by Flex harUI

    LabelFunction not working properly when Dataprovider being sorted.

    flexprad09 Level 2

      I have a Datagrid.
      I add a column [Indexcolumn ]at runtime in this DG and get it filled using labelfunction.
      I have written functions for sorting and adding % sign for other columns [whose data comes from ArrayCollection which is dataprovider].
      Now when i add % sign and sort any column in ascending order [descending is working properly], labels of my Indexcolumn gets changed randomly dispalying 0 or some unordered numbers .


      Can anyone help me on this. or behavior of labelfunction while sorting.
      Any help appreciated.