DataGrid vertical scrollbar overlaps the last column

1,130 views
Skip to first unread message

kedar vyawahare

unread,
Feb 8, 2013, 1:53:24 AM2/8/13
to google-we...@googlegroups.com
Hi all,
I am facing a DataGrid horizontal/Vetricle Scrollbar overlaps the last row
issue. While displaying the data grid, It overlaps the last row as well as column.
Attached is the screen shot.

This issue is not specific to IE8. You can reproduce it any browser. For vertical scroll bar, even if I add some padding or make the last column wider , the issue is still persist.

Please suggest workaround to sort out this. Thanks in advance. Kedar
scrollIssue.PNG

Alex opn

unread,
Feb 8, 2013, 1:49:22 PM2/8/13
to google-we...@googlegroups.com
It's caused by CustomScrollPanel which is used internally by DataGrid afaik. The documentation suggests:
 
If the scrollbars obscures the content, you can set the padding-top and padding-bottom of the content to shift the content out from under the scrollbars. 

Hope this helps a bit?

El Mentecato Mayor

unread,
Feb 11, 2013, 11:01:06 AM2/11/13
to google-we...@googlegroups.com
I don't understand that documentation sentence you just quoted.

What I've done is one of two things as a workaround: 1) set a ~20 pixels padding-right on the last column, or 2) set a size to the column to be ~20 pixels wider than what expect the content to be on the last column.
Reply all
Reply to author
Forward
0 new messages