DataGrid Hidden Row Bug?

Aug 14, 2009 at 4:21 PM
Edited Aug 14, 2009 at 4:23 PM

I'm having a problem with the Vertical Scrollbar when their are some hidden rows on the datagrid.

The Grid is a Tree view List.  So I dynamically populate inner nodes when expanded and hide them when node gets collapsed.  The problem is that once I hide them, the Vertical Scrollbar size increases and when I try to scroll down, the scrollbar size keeps on shrinking and only after scrolling down for the while does it actually scroll down the grid.

 I've uploaded some pictures to help understand.

http://a.imagehost.org/0902/1_55.jpg

http://a.imagehost.org/0586/2_15.jpg

http://a.imagehost.org/0895/3_20.jpg

http://a.imagehost.org/0588/4_9.jpg

http://a.imagehost.org/0299/5_28.jpg

http://a.imagehost.org/0496/6_7.jpg