:: Forum >> Version 2 >>
setCurrentRow() with CSS border-top directive
More information on this topic is available in the documentation section:
/aw.ui.grid/current-row.html .
(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
/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 ;}
/* sizing adjustment for standards mode doctype */
. aw - strict #myGrid . aw - grid - row { padding - bottom : 3px ;}
Alex (ActiveWidgets)
Wednesday, November 9, 2011
Post a reply:
Back to /aw.ui.grid/current-row.html
Documentation:
Forum search