Home All Groups Group Topic Archive Search About

datagrid scroll problem

Author
1 Apr 2005 2:17 PM
Brian
I've used the syncfusion method to autosize my datagrid row heights.  The
problem I run into is the vertical scrollbar does not take into account the
new row heights.  When I scroll to the bottom I still have several rows left
below.

Thanks

Author
2 Apr 2005 12:23 AM
Ken Tucker [MVP]
Hi,

        After you are done adjusting the row heights you need to resize the
datagrid to get it to adjust the scroll bar.  I usually make the datagrid 1
pixel smaller than set it back to the original height.  That way the scroll
bar adjusts itself and the user doesnt see the change.

Ken
--------------
"Brian" <Br***@discussions.microsoft.com> wrote in message
news:DC689CA6-C6A4-46DE-B09E-831DF8C99985@microsoft.com...
I've used the syncfusion method to autosize my datagrid row heights.  The
problem I run into is the vertical scrollbar does not take into account the
new row heights.  When I scroll to the bottom I still have several rows left
below.

Thanks