3 Replies Latest reply on Aug 2, 2010 9:31 AM by Flex harUI

    Changing first column seen  in datagrid by code?

    Aron manager Level 1



      Is there anyway to change first column seen in a datagrid using action script? I mean, for example, think I have 10 columns, just 3 are seen (0,1,2). I just want to have a button to change the first column seen. So for example if I press it, 1,2 and third column will be the ones that will be shown in the datagrid. I need to emulate same thing the scrollbar does when you drag it in a datagrid but instead of letting the scrollbar doing this automatically I want to "scroll" the datagrid manually.


      By the way, is there anyway to go through the datagrid children and hide scrollbar manually?.


      Thanks in advance,