Hello,
We have a TreeGrid with lots of records, and the opening of folders is quite slow (over 1 second). Could you please look into why this is? I suspect it is something in the framework code that needs to be optimized. I don't think it is drawing-related slowness, because even if every folder is collapsed, and I open a single top-level folder, there is a lot of lag. Perhaps in the framework code you have loops within loops, or something of the sort?
I have attached source code of an example. You will also need to download a 3 MB source file from here which contains the records: https://we.tl/t-O9n2DnB0iV
I could not attach this into the forum thread since there is a 2 MB limit. Note that the link expires in 7 days.
Also by the way, near the end of BuiltInDS.java, there are lots of options for the TreeGrid example which I have set because in the actual code we set these options as well. However, when these options are disabled, the folder opening is still pretty slow.
We have a TreeGrid with lots of records, and the opening of folders is quite slow (over 1 second). Could you please look into why this is? I suspect it is something in the framework code that needs to be optimized. I don't think it is drawing-related slowness, because even if every folder is collapsed, and I open a single top-level folder, there is a lot of lag. Perhaps in the framework code you have loops within loops, or something of the sort?
I have attached source code of an example. You will also need to download a 3 MB source file from here which contains the records: https://we.tl/t-O9n2DnB0iV
I could not attach this into the forum thread since there is a 2 MB limit. Note that the link expires in 7 days.
Also by the way, near the end of BuiltInDS.java, there are lots of options for the TreeGrid example which I have set because in the actual code we set these options as well. However, when these options are disabled, the folder opening is still pretty slow.
Comment