Just to introduce you into my problem, I've got tableview with 600 columns and 600 rows. I need to filter this table with some condition which is similar for both columns and rows. There is no problem to filter out some rows using CustomRowFilter, but I need to hide columns as well. I didn't find any built-in functionality to accomplish this task so I tried to do it manually by setting column's Visible property. Problem is that every single call of
C#gridColumn.Visible = trueOrFalseParam;
takes about 30 milliseconds. So hiding of 300 columns takes up to 9 seconds which is very slow. I tried to surround it by gcDetail.Columns.BeginUpdate();and gcDetail.Columns.EndUpdate();but no change. Please can you suggest me any solution how to speed things up in my scenario? Is there any built-in feature how to conditionally hide columns?
Hi Martin,
We optimized the process of showing/hiding columns in version 14.1. I have attached a video to demonstrate that now it doesn't take much time to hide a large set of columns when the BeginUpdate and EndUpdate methods are used. Would you please clarify if it is possible for you to upgrade to a newer version?
Thanks,
Alexander
Thank you for your answer. Unfortunately, I'm stuck with 13.2.11 for a while so I will try to test it with trial subscription and hope that we will upgrade soon. I suppose there is no chance to speed it up in older version?
Sorry, 13.2.13