Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
935
RowScrollAction.Bottom is not scrolling to bottom if I change the hieght of rows
posted

Hi,

e.Layout.RowScrollRegions[0].Scroll(

 

RowScrollAction

.Bottom) is not scrolling to bottom.

I am increasing the hieght of few rows in paint method that could be the reason it is not scrolling to bottom.

Is there any way make it scroll to bottom.

Thanks

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    You are probably correct. Changing the height of the row in the Paint method is probably not a good idea. At the very least, it's inefficient.

    If you want all the rows in the grid to be the same height, anyway, then why are you looping through the rows?Or did you just use the same height for example purposes?

    Either way, looping through every row in the grid inside the paint event it extremely inefficient. Try using the InitializeRow event instead and just set the height on one row at a time.

     

Children