Re: How to build text trimming cell for GWT DataGrid
If you extend AbstractCell<?> there is access to your model and cell state (view,edit). There you can count chars, traverse dom that suit your needs
On Sunday, April 29, 2012 2:45:59 PM UTC+2, benb wrote:
Hi,
I'm looking for examples for building a text-trimming cell for GWT
DataGrid.
I want the cell to have fixed width and height, and if text is longer
- ellipsis (...) will appear.
The complete text will appear on editing / on tool tip.
In my current DataGrid, the text is automatically wrapped and the row
height grows. I want to avoid that and to keep fixed row height.
Can someone help?
Thanks,
Ben
On Sunday, April 29, 2012 2:45:59 PM UTC+2, benb wrote:
Hi,--
I'm looking for examples for building a text-trimming cell for GWT
DataGrid.
I want the cell to have fixed width and height, and if text is longer
- ellipsis (...) will appear.
The complete text will appear on editing / on tool tip.
In my current DataGrid, the text is automatically wrapped and the row
height grows. I want to avoid that and to keep fixed row height.
Can someone help?
Thanks,
Ben
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/-/uvS69dsmTjAJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home