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
1329
Paging and Hidden Columns
posted

Hello, We are using VB.NET, VS2010, with Infragistics version 11.1.20111.2036

We have a 2 level bound WHDG. When the page is first rendered, everything looks ok. Each of the Parent and Child Rows have some hidden columns. Using the WHDG's built in behavior for paging, when you click to go to the next page, the data is refreshed correctly but ALL of the Child Rows hidden columns are now visible. If you go back to the previous page they are also visible. I added code in "four places" to hide the columns programaticaly in order to try correct the issue.

Client Side BLOCKED SCRIPT Added code to the ContainerGrid_RowExpanding() event. I obtained the ChildGridView and from there .get_columns().get_column(hiddenColumnName).set_hidden(true); 

Code Behind: _InitializeRow,  _RowIslandDataBound, and one of my own method's to hide the columns.

Using ALL four methods did NOT correct the issuse. The columns hidden columns are visible after the first page. I will also note here that the grid 's .ExpandAll() method only works on entry to the page.

Any help would be greatly appreciated. Thanks.

Parents Reply Children