We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Problems with Visible Columns collection

Hi,

I have several columns in my GGC control and i am trying to hide two columns from code behind.

GGC1.TableDescriptor.VisibleColumns.Remove("Id");
GGC1.TableDescriptor.VisibleColumns.Remove("Path");

This works fine but sometimes say 1 out of 20 attempts i am able to see the hidden columns. Can you help me in this regard





1 Reply

RS Rajarajeswari S Syncfusion Team December 9, 2008 01:15 PM UTC

Hi,

Thanks for using Syncfusion products.

I am afraid that i am not able to reproduce the issue that you have mentioned here.

Could you please check if you have defined the VisibleColumns collection on the ASPX page like below:


.....
.......


If so, please remove it and define it on the code behind itself.

If any columns are removed from the VisibleColumns collection they won't be visible until the TableDescriptor is reset. Could you please check the above? and let me know if this helps you out.

Regards,
Raji





Loader.
Live Chat Icon For mobile
Up arrow icon