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
910
Visibility Property on Field, When hidden it still takes up space in the grid on a nested Grid.
posted

Question on hiding columns in a  Nested Hierachal Grid View.

I have two Tables in a DataSet, with a DataRelation between them.  The two tables are linked together by the two columns( keys ).

I would like to hide the display of the two columns in the nested Grid.

So in my FieldLayoutInitialized event, I loop through my fields in the fieldlayout, and set the Visibility = Visibility.Hidden.

This hides the columns from view, however it does not shift the remainin columns to the right.  It just leave a big open area where the two columns where before.  I even tried setting the CellWidth to 0, but I still have the space.

Am I doing something wrong ?  If so, what would be the best way to hid the two key column on the nested view ?

Thanks

DK 

Parents Reply Children
No Data