Monday, March 24, 2014

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

I have the feeling that it would be easier to write a custom cell (possibly extending an existing one) and in its render method decide if it should add a bold, bolder or extrabold css class to the output.

Inside Cell.render() you have access to everything you need to make that decision (row index, column index, column value).

-- J.

--
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/d/optout.

No comments:

Post a Comment