Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Parent/Child relation in Ultra grid
posted

Hi.

i want to show  grid in the master/detail relation. I bind Dataset to grid it shows the grid in master/detail manner. 

but i have probelm it shows all columns in the child grid. i want to show only 2 column in it. but it show all cloumn which child table has.

 

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Handle the InitializeLayout event of the grid and you can set the Hidden property on any columns you don't want the user to see. For example: 

    e.Layout.Bands[0].Columns["column name"].Hidden = true;

Children