The header concept gets me a lot further down the path, and it looks like I can "fake it out" by having a Header rendered in the footer section.
But, I'm still not getting my actions triggered, whether the Header is rendered in a header section or footer section. There's probably a piece that I've miscoded that's causing this, but the issue I'm seeing when I step through my code is that for a mouseover event, which I'm not handling in any way, the AbstractHeaderBuilder execution flows through public Header<?> getHeader(Element elem), and is passed the TD element. But, with a click, I see it is passed the Button tag from my action cell, and ends up returning null. (I'm using the abstract class' renderHeader method to do the rendering, and see the ID on the TD tag, which seems essential.)
On Friday, September 6, 2013 6:50:49 PM UTC-4, Steve C wrote:
-- But, I'm still not getting my actions triggered, whether the Header is rendered in a header section or footer section. There's probably a piece that I've miscoded that's causing this, but the issue I'm seeing when I step through my code is that for a mouseover event, which I'm not handling in any way, the AbstractHeaderBuilder execution flows through public Header<?> getHeader(Element elem), and is passed the TD element. But, with a click, I see it is passed the Button tag from my action cell, and ends up returning null. (I'm using the abstract class' renderHeader method to do the rendering, and see the ID on the TD tag, which seems essential.)
On Friday, September 6, 2013 6:50:49 PM UTC-4, Steve C wrote:
I'd like to put a set of button cells into a composite cell in a celltable footer that uses a custom footer builder to create a row with a cell that spans most of the table columns. But, I don't get any click events on those buttons. If I put the same type of cell into a column, it works fine.
The last time I had a need like this, I created a dummy column, gave it a width of 1px, and added it to the table. But I don't really like having the columns not map completely to my row objects, and having to fake my way through the getValue, etc.
It seems like it ought to be possible, since CellTree doesn't use the column concept, but I haven't been able to make my way though it's or AbstractCellTable's code to figure out how to make the events be recognized.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment