Navigate CellTable with arrow keys

2012-11-20 Thread Kevin Buikema
I'm trying to come up with a way to navigate the elements of a CellTable 
with arrow keys, and while I can get the key events pretty easily, I'm not 
sure of a good way to move the focus from one Cell to another within the 
table.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/QLnu7MgilP8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Two footers in a CellTable?

2012-09-17 Thread Kevin Buikema
Is there a way within the standard CellTable to add two footers to the 
table? I need to have two separate non-editable total rows, and I was 
hoping to be able to do it without having to customize objects or create a 
separate table for the totals.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/HgWPAWBu6PkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



CellTable - style specific columns

2012-08-27 Thread Kevin Buikema
I'm using a CellTable element via UIBinder, and I'm trying to come up with 
a way to simply style specific columns in the table to make them look 
distinct. To make it as simple as possible, I set up a separate css style 
for them:

.special_column_style {
  background-color: pink;
}

and used the code

table.addColumnStyleName(colIndex, special_column_style);

...and it does nothing. Is there additional setup for the table that needs 
to be done to make the above code work? It seems like it should be simple, 
and yet it does nothing.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/YneTtXIy0mgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: CellTable - style specific columns

2012-08-27 Thread Kevin Buikema
Doing some additional debugging, it appears the browser is unable to locate 
special_column_style, because GWT translates the css file into it's own 
custom resource. Is there some way I can figure out what GWT transforms my 
css into, so I can set that style class for a column?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/EEJiaqy44KoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Handling events via @UiHandler with CellTable

2012-08-22 Thread Kevin Buikema
I'm using a CellTable with EditTextCells and CheckboxCell columns in an MVP 
app, and I'm trying to set up a UiHandler for the updates instead of 
explicitly declaring field updaters for each column, to make it more 
abstracted so the handling can be done in the presenter. Is something like 
that possible, or am I stuck with the explicit field updater assignments?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/J5ZTx3KoA0oJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.