I don't get why you've created 2 grids to begin with- the headers
don't scroll with the content and the resizing of columns keeps the
headers and content aligned as well. What are you trying to do that
DataGrid doesn't do out of the box?

Ben


--- In [email protected], "Matt" <[EMAIL PROTECTED]> wrote:
>
> Nobody has a clue on this? Getting desperate here. :o
> 
> --- In [email protected], "Matt" <matt@> wrote:
> >
> > Does anyone have a clue why this might be happening?  It's got me
> > completely stumped. :(
> > 
> > --- In [email protected], "Matt" <matt@> wrote:
> > >
> > > 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