The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
Thanks.
Pete
ADAdministrator Syncfusion Team September 20, 2004 02:06 PM UTC
Hi Pete,
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?
Thanks,
Stefan
PDPete DavisSeptember 20, 2004 03:35 PM UTC
Yes, completely missed that. Thanks, that fixed it.
>Hi Pete,
>
>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?
>
>Thanks,
>Stefan
>