vbdavie Posted December 12, 2024 Posted December 12, 2024 The uniDBGrid is fairly good. But i notice that if the ADO dataset contains lots of records (like 30,000) then it becomes horribly slow. I do NOT have calculated fields. I do NOT use client cursor location (i use serverside cursor to my SQL database) I use the PAGED web option so that only a few records are displayed at a time. My page size is 4 records. My VCL program that uses TDBGrid loads the grid in about 4 seconds. The similar web version that uses TuniDBGrid loads in about 50 seconds. That's a huge difference. Is there an explanation? Thanks Davie Quote
irigsoft Posted December 13, 2024 Posted December 13, 2024 9 hours ago, vbdavie said: The uniDBGrid is fairly good. But i notice that if the ADO dataset contains lots of records (like 30,000) then it becomes horribly slow. I do NOT have calculated fields. I do NOT use client cursor location (i use serverside cursor to my SQL database) I use the PAGED web option so that only a few records are displayed at a time. My page size is 4 records. My VCL program that uses TDBGrid loads the grid in about 4 seconds. The similar web version that uses TuniDBGrid loads in about 50 seconds. That's a huge difference. Is there an explanation? Thanks Davie Hi, I have the same problem with Grid with many columns (hidden and visible). I thing the problems is on Ext.Grid used by default with unigui. You can try some optimization with javascript, or use some other grids. https://www.sencha.com/blog/7-tips-for-optimizing-performance-in-javascript-grids/ https://www.infragistics.com/community/forums/f/retired-products-and-controls/14363/how-to-optimize-webgrid-with-large-number-of-columns Quote
Abaksoft Posted December 13, 2024 Posted December 13, 2024 14 hours ago, vbdavie said: s there an explanation? Thanks Davie ADO connectivity is an old technology. You can try a professional one, very fast from DEVART. Download their free demo for Delphi unidac or a specific one for your RDBM. https://www.devart.com/dac.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.