0 Replies Latest reply on Mar 8, 2010 3:20 PM by maheekp

    Data grid within advanced data grid (Hiding and showing columns)

    maheekp

      Hi,

       

      I have a dta grid within advanced datagrid. When the row of advanced data grid is expanded, the datagrid opens up.

       

      I want to control the columns of datagrid based on the value of a field in advanced data grid. I want to show all the columns of the datagrid if the field value of advanced data grid is "X" else I want to show only few columns of the data grid.

       

      I will set the id for all the columns of the datagrid. Then I think I can write some code in a method to set the visibility of the columns and assign the function to item opening property of the advanced data grid.

       

      Please give me some ideas.

       

      Regards,

      Mahee