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.
Oops, sorry about that. You are right, it's HeaderPlacement. :)
I couldn't find the HeaderPosition element that you mentioned but did find the following which seems to achieve the same goal
<gridName>.DisplayLayout.Bands[0].Override.HeaderPlacement = HeaderPlacement.FixedOnTop;
Yes, see the HeaderPosition property on the Override.
Thanks for your reply.
when i expand the row. it shows its child record. i have hide the column header of the child band. But it repeates the column header of Parent band at the end of the child band/records before start of next parent records.
can i set that parent band column header shows only once in the grid?
Yes. You can use the same event and set the column.Header.VisiblePosition on each column.