Datagridview scrollbars Not visible

0
0

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

  1. Vertical scrollbar is visible only if last column is fully visible
  2. Horizontal Scrollbar is never visible

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

 

  • You must to post comments
0
0
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
  • You must to post comments
0
0

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

wisej-support-2021-02-04-frozen-false

Regards

  • You must to post comments
0
0

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

wisej-support-2021-02-04

Regards.

  • You must to post comments
0
0

Hi Nello
Thank you for sending us a sample. I’m checking it out.
As soon as I have news I comment

regards

  • You must to post comments
0
0

I can, t be able to send by e-mail

i try to attach project with a zip file

Tks

  • You must to post comments
0
0

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

  • Nello Pernice
    I ‘m using version 2.2.33
  • Luca
    • Luca
    • Feb 2, 2021 - 4:47 pm
    Email it to support at iceteagroup.com From the screenshots the grid is clearly truncated by an element over it.
  • Nello Pernice
    I sent it. tks.
  • You must to post comments
0
0

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

DataGrid video

 

Regards and happy coding

  • You must to post comments
0
0

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.

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.