Studio for Silverlight

C1DataGrid ScrollBar Issue

  •  stonecourier said 11 months, 2 weeks ago:

    We are experiencing an issue with some grids where the vertical scrollbar is not refreshed correctly and you cannot scroll up to down to see records.

    Using the mousewheel works, and the records come into view.

    Unfortunately, I haven’t managed to get this in a simple demo project where I can reproduce this for you.

    Can you think of what we can do to fix this?

    We were using C1Silverlight5_5.0.20121.243

  •  AbdiasM14p said 11 months, 2 weeks ago:

    Hello stonecourier,

    I couldn’t replicate the behavior you’ve mentioned at my end. Do you face the issue when trying to scroll using the thumb buttons at the top and bottom of the scrollbar?
    I’ve attached my sample here. Please let me know if I’m missing anything or any steps that might help me to replicate the issue. You can even modify my sample so that it replicates the issue and attach it back.

    Thanks

    Attachments:
    You must be logged in to view attched files.
  •  stonecourier said 11 months, 2 weeks ago:

    Hi,

    I managed to figure it out by a lot of trial and error.

    Using Presenter.InvalidateMeasure on gridrows causes the scrollbar/grid to not properly figure out how much of the rows are visible and hence not size correctly.

    We were using this as we had a few grids with wrap around text that could get quite long, but most grids do no need it, so we will turn this off.

    I won’t be in my office for a day or so, I will provide a demo of this when I get back.

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.