Re: inplace editor and display only at the same screen
Hi,
On Thursday, August 15, 2013 2:46:42 AM UTC+12, David wrote:
-- You need to create your own custom cell, extending AbstractCell.
Inside it's instance, create either one cell or the other, by overriding the render method. Make sure you also call the render method of the actual cell!
Also, you would need to override the onBrowserMethod and forward the args to the onBrowserMethod of the actual cell as well, and make sure you subscribe to the events you want to capture in the constructor of your custom cell.
When the state of the toggle button changes, you can re-render the entire table.
On Thursday, August 15, 2013 2:46:42 AM UTC+12, David wrote:
I can use EditTextCell to implement inplace editor on one field. I want to implement one screen to have either inplace editor feature or traditional display (TextCell) at one time, which can be controlled by a toggle button. Can I implement this feature?
Thanks.
David
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/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home