Issue raised: http://code.google.com/p/google-web-toolkit/issues/detail?id=5714
On Dec 4, 8:53 pm, manstis <[email protected]> wrote: > Thanks John, > > GWT 2.1.1 doesn't support the colspan requirement I have (unless it's > different in GWT 2.2). I know if the Headers equal (object reference) > each other 2.1.1 spans the Header across both columns; however I need > a Header with multiple rows and only one of the rows is spanned; the > other not - so spanning the whole Header across both columns IMO is > not the solution I seek. > > I'll raise an issue for the nested table in a Header though. > > Cheers, > > Mike > > On Dec 3, 9:41 pm, John LaBanca <[email protected]> wrote: > > > Mike - > > > Most of what you want to do is not supported yet, but we plan to add support > > in GWT 2.2. > > > Thanks, > > John LaBanca > > [email protected] > > > On Fri, Dec 3, 2010 at 1:24 PM, manstis <[email protected]> wrote: > > > Hi, > > > > I'd like to make a composite Header for CellTable. > > > > My requirements are:- > > > * Multiple rows > > > Planned for GWT 2.2. > > > > * ColSpan in one of the multiple rows > > > Available in GWT 2.1.1, which is coming soon. If two headers == each other, > > they will colspan. > > > > * Multiple Clickable elements in each TH's TD > > > Sounds like a bug. Can you open an issue on the issue tracker for this. > > Including a table in a Cell shouldn't affect events. > > > > Naively my plan was to generate the required HTML in the Header's > > > render method and hook up clickHandlers to some of the elements; > > > however (obviously) the render method only returns HTML which is used > > > by CellTable to populate the inner HTML of elements already created > > > (namely the TH and TD elements). > > > > Furthermore to provide the multi-row\colspan requirements I planned on > > > using the same Header for all columns (so CellTable spans all columns) > > > and generate HTML for a nested table - with multiple rows\colspan etc. > > > Provided the nested table's column widths match those of the CellTable > > > and I override CSS to remove padding and margins it gives the required > > > effect. > > > > I also found that click events do not get raised when the Header > > > contains HTML for another table. > > > > So, some questions:- > > > * Does anybody have advice on implementing composite headers? > > > * Can you attach Handlers to HTML elements created in a render method? > > > * How can I get Click Events to pass through to a nested HTML table? > > > * Would I be better off writing my own Widget rather than use > > > CellTable? > > > > Thanks for reading this far. > > > > Mike > > > > -- > > > 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]<google-web-toolkit%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
