I have a grid control derived from the Syncfusion GridControl class. I''ve been working on this derived class for several months off and on. Anyway, one of the users (a developer) noticed that he''s not able to hide columns. The derived grid is a virtual grid that implements some custom data binding.
I haven''t done anything specifically with hidden columns in the derived class, so I have no idea what I might have done that might keep the hidden columns from working. Hidden rows on the other hand are working fine.
Any idea where I should even begin to look on this?
ADAdministrator Syncfusion Team September 20, 2004 10:06 AM
Did you override QueryColWidth?
If yes, try setting e.Size = 0 and e.Handled = true if Model.HideCols[e.Index] is true.
Otherwise I am not sure ...
What are the other overrides you have? Do you have a small sample?
PDPete DavisSeptember 20, 2004 11:35 AM
Yes, completely missed that. Thanks, that fixed it.
>Did you override QueryColWidth?
>If yes, try setting e.Size = 0 and e.Handled = true if Model.HideCols[e.Index] is true.
>Otherwise I am not sure ...
>What are the other overrides you have? Do you have a small sample?