Well, you could synchronize scrolling through scrollhandlers: add scrollhandler to one of your tables, and in the onScroll method, make the other table scroll to the desired position. Simple, isn't it ?
Good luck, Salvador On 15 mai, 10:04, Suren <[email protected]> wrote: > Thanks Alex, > > I will try that out definitely..any idea about scrolling them together > with single scrollbar on the right end ? like chad had mentioned it > wuold be a problem still. > > thanks again > Suren > > On May 15, 12:06 pm, "alex.d" <[email protected]> wrote: > > > You don't have to use SplitterPanel - take two "normal" panels like > > vertical or horizontal and place them side by side. of course your > > table is then two tables - one with the first column, the other with > > the rest. It's tricky but you can make it work. > > > On 15 Mai, 06:04, Suren <[email protected]> wrote: > > > > Hi Chad, > > > > Thanks for the reply. > > > > I am interested to know about the first approach. > > > > > You could just put two grids in a HorizontalSplitPanel and set the > > > > splitter bar so that only the left column is visible > > > > You actually mean here is that, place the header and data grid in a > > > split panel side by side? > > > In this case can I remove the splitter some how? so that it can look > > > like a single grid? > > > > > Of course, in either > > > > scenario, the trick will be getting them to scroll together, but I'll > > > > leave that small detail to you. ;) > > > > Yes I do understand that, but that is my next ache anyway > > > > Thanks again > > > > Suren > > > > On May 14, 6:07 pm, Chad <[email protected]> wrote: > > > > > Suren, > > > > > You could just put two grids in a HorizontalSplitPanel and set the > > > > splitter bar so that only the left column is visible. Or create two > > > > grids where the first grid only has one column and the second grid has > > > > all but the first column and put them side by side. You would have > > > > better control over the second scenario. Of course, in either > > > > scenario, the trick will be getting them to scroll together, but I'll > > > > leave that small detail to you. ;) > > > > > HTH, > > > > Chad > > > > > On May 14, 3:38 am, Suren <[email protected]> wrote: > > > > > > Hi All, > > > > > > I want to overlay one grid over the other, so that I can create an > > > > > impression that the first column can be a fixed/freeze when scrolling > > > > > right. > > > > > > An anyone has any other solution for keeping the first column as > > > > > fixed/ > > > > > freeze when we scroll right the grid? > > > > > > Thanks > > > > > Suren- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
