2 Replies Latest reply on Feb 23, 2007 10:02 AM by Like2Flex

    Arrange datagrid columns in the way I want

    Like2Flex Level 1
      Hello,

      I want to do something, maybe be somebody has tried it before.

      I have a list B,D,C,A.

      And I have a datagrid populated nicely and the order of the columns in my datagrid is like "A,B,C,D".

      I have nicely splitted the list to get each items of the list.

      Now I want to write a function which when called, will arrange the columns of the datagrid in the way the list is.
      Is this possible ?

      Note that I need to do it in this way, I don't want to arrange it in the array first and then display. (this is the simplest). But my application is such that I need to go through the hard way :(

      Anyone can help me write this function ??

      thx