CellBrowser & EditTextCell (not refreshing the cell)

315 views
Skip to first unread message

Arash

unread,
Aug 14, 2012, 6:51:19 AM8/14/12
to google-we...@googlegroups.com
Hi,

I have changed the CellBrowser sample in showcase to render an EditTextCell for one of the columns. I would like to ignore the value change in EditTextCell in certain occasions. If  the value entered by user in the EditTextCell is not acceptable, I would like to revert back to the original value that it was already rendering. I have read multiple posts about refreshing the cell table but none of them prevents the EditTextCell to change its value or at least set it to its original content. Note that the backed data provider has not changed, in fact if you click on the EditTextCell two times, it automatically reverts back to the original value but refreshing the EditTextCell data provider or it's parent data provider or closing / reopening the cellBrowser has no affect. 
I tried to extend the EditTextCell and override onBrowserEvent method but I can't seem to find a way to set the content of the cell to it's original value.

Any help would be greatly appreciated. These are similar posts that I have followed:

EditTextCell but related matter.


Thanks,
Arash

Neil Patel

unread,
Sep 3, 2012, 5:41:41 AM9/3/12
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages