Hi
I have a datagridview on a page. At design time both scrollbars are visible and configured = “Both”
During run time datagrid is filled with more than 100.000 rows
The theme used is correct and other controls work correctly.
I can’t use Autosize property because it slows filling datagrid
I have attached 3 screenshot
Any suggestion ?
Thanks
Nello Pernice
Hi Paul, I solved the problem. In the end it was easier.
All columns were set with Frozen = true, so the grid doesn't scroll either horizontally or vertically.
I changed it and now it works the way I want.
Anyway thanks a lot for your attention
Nello
Hi Nello
A better solution is thath you set Froze=false for all the columns in the datagridview
In this case both scroll rows of the datagrid are visible and the with of the last column can remain with your original value
Here the result
Regards
Hi Nello
When the width of column21 is setted to 100, the vertical scrollbar is showed
The scrollbar is managed internally by wisej using a panel and the cells area for another panel.
And how the with of column21 is too hugh, the scrollbar is hidden
Here an image with this setting and I attach the sample modyfied
Regards.
Hi Nello
Thank you for sending us a sample. I’m checking it out.
As soon as I have news I comment
regards
I can, t be able to send by e-mail
i try to attach project with a zip file
Tks
thanks Luca,
The grid is not inside a panel or any other control.
I’m trying t send you my little test project, a zip file of 2,15 Mb, but i get always “forbidden” error.
We are looking to move our Scada HMI from the desktop to the web.
The project is not that simple, so any help will be greatly appreciated.
Nello
Hi Nello
Here you can see a video with a datagrid demo where is loaded with more than 100.000 rows
I used the last dev version 2.2.33
Tell us with version are you using if after the comments of Luca you are still with the error
Regards and happy coding
Looks like the grid is inside a panel or another container that truncates it. Check the parent control. You can also see which container truncates the gird in chrome with f12. The number of rows or columns doesn’t make any difference.
Don’t use AutoSize on the grid. It makes it grow vertically to fit the rows.
Please login first to submit.