:: Forum >>
setCurrentRow() with CSS border-top directive
(repost, previous post had brackets in subject that did not get through)
It seems that ScrollTop calculation does not take account for borders that are set by CSS.
Typically, when grid has many rows, bottom rows near the end can't be reached.
Do you experience the same?
Any way workaround?
Thierry Nivelet (FoxInCloud)
Tuesday, November 8, 2011
http://www.activewidgets.com/javascript.forum.22006.1/bottom-row-not-visible-after.html
Width 'standards mode' doctype adding a border changes the row height because the css height is applied to the content (i.e. excluding borders and padding). To compensate for this you need to reduce the default padding (4px) by the same amount as your border size (1px border -> 3px padding).
#myGrid .aw-grid-row {border-bottom: 1px solid threedlightshadow;}
.aw-strict #myGrid .aw-grid-row {padding-bottom: 3px;}
Alex (ActiveWidgets)
Wednesday, November 9, 2011
This topic is archived.
Back to support forum
Forum search