I am trying to create my own version of DataGrid using
Grid/GridRow/GridCell but I've run into a snag:



I created a Box that contains two Grids (one for the headers and one for
the content - so the content can scroll without the headers scrolling)
and added a resize event listener to the first row in the content Grid
to resize the corresponding cells in the header Grid to match the width
(so when a scroll bar is created on the content Grid the cells on the
header are resized to match) but I'm getting off by like one pixel.  It
would seem the first line works right and as it goes to the right it
gets further off.

Does anyone know what might be causing this?  If there is no scroll bar
it seems to work just fine, it seems to only happen when there are
boundaries it must adhere to either width or height.

Help is appreciated. :)

Reply via email to