DataGridView - scrolling

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

I have a databound datagridview that has enough rows in it that it should be scrolling but there are no scroll bars.  I don’t know that I did anything to keep the vertical scrolling from working but it is not.

Any suggestions?

 

Thanks

Shawn

  • You must to post comments
0
0

AutoScroll applies to the panel. Looks like the grid is too big for the panel and you are scrolling the entire grid.

  • You must to post comments
0
0

I figured out the problem.  AutoScroll was set to false.  I didn’t remember doing that, but switching it to true fixed my issue.

  • You must to post comments
0
0

Hi Shawn,

Maybe the grid is sized outside of the user control and the scrollbar is outside? Check in Chrome with F12. I tried this as well and I don’t see any different with the grid being inside a container. See attached screenshot. The grid in the middle is in a user control.

Best,

Luca

Attachment
  • You must to post comments
0
0

I played with it some more and I am not sure what is going on.

If I create a new DGV, and bind it to custom object it seems to work ok in my short test.

Is there any issue in the DGV being in a user control? (That is where it isn’t working).

I am not sure that there isn’t something else wrong with my form that the user control is in.  I can’t change the size of the form, maybe I used a popup template instead of a form template.

  • You must to post comments
0
0

Hi Shawn,

I quickly tested with a few samples here, but they all seem to work ok, i.e. they show the scroll bars if needed.

Are you using a standard theme ? If not, can you please retry with one of the standard themes.

Best regards
Frank

  • You must to post comments
Showing 5 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json