Monday, August 27, 2012

CellTable TextInputCell styling

I've been trying out various methods of getting a table-like page for 1-10 rows of data for an invoice editor.  One approach uses the CellTable and 5 columns containing TextInputCells.  I want to style them with a specific border, and each column has a different width.  After much head-knocking of searching for style settings and trying separate CellTable style bundles and who knows what else, I overrode the TextInputCell render method to hammer actual HTML out.  When I saw that I have to manually fiddle with the tab index as well, I thought I'd just check here. Is there a cleaner way of doing all this?

Current favourite idea is to just have a widget for the table, and widgets for each row. Those at least will play with the editor framework and I can style them reasonably easily.

Richard

--
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/-/0WrbaEO99HMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment