I actually ended up using addCellPreviewHandler of the celltable to add
a CellPreviewEvent.Handler for the table.
thanks
On Thu, May 12, 2011 at 11:21 AM, Boris Lenzinger wrote:
> Hi,
>
> I had found something like about this on the internet. The following code
> is some hint on how to do this.
Hi,
I had found something like about this on the internet. The following code is
some hint on how to do this.
Boris
class Table extends FlexTable {
private String headerStyle = "nostyle";
public Table(TableDataSource source, String stylePrefix) {
super();
this.setCellPadding(1);
Maybe attach the handler to the table and get the cell source when the
event is triggered.
Get the row index from the returned cell, remove all highlight style
from the table and add a highlight style to the row.
Not sure how efficient this would be though given the event would need
to be handled
Has anybody tried implementing MouseMove to highlight rows of the table? If
so, can you please share your ideas?
thanks
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.co
Hello guys,
I'm having a problem with the widgets CellTable and FlexTable (or Grid).
I made my layout using a FlexTable. The first row is the header and into the
second row I'm trying to put a CellTable, but the CellTable isn't rendering.
I've tested putting the CellTable into the RootPanel