permaculture playing cards*
The moose likes GWT and the fly likes Inline editing in GWT Cell table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Inline editing in GWT Cell table" Watch "Inline editing in GWT Cell table" New topic
Author

Inline editing in GWT Cell table

Anand Jain
Greenhorn

Joined: Jul 27, 2009
Posts: 18

I have a cell table in one of my GWT screen. Now requirement is that there will be some button on the screen clicking on which one editable row will be inserted into the cell table. if I am not wrong this is called inline editing.

Can somebody please help me with that? I have just started working in GWT.
Jinal Prakas Shah
Ranch Hand

Joined: Jun 20, 2012
Posts: 39
It's a simple thing. In the cell table you need to replace that row with another row of textboxes. You need to create the listener on the button click and pass the object of that row to replace the content. I know it's a bit complicated in making you understand here in forum.

Regards
Anand Jain
Greenhorn

Joined: Jul 27, 2009
Posts: 18
Jinal Prakas Shah wrote:It's a simple thing. In the cell table you need to replace that row with another row of textboxes. You need to create the listener on the button click and pass the object of that row to replace the content. I know it's a bit complicated in making you understand here in forum.

Regards


Can you please provide some sample code?
Anand Jain
Greenhorn

Joined: Jul 27, 2009
Posts: 18
Jinal Prakas Shah wrote:It's a simple thing. In the cell table you need to replace that row with another row of textboxes. You need to create the listener on the button click and pass the object of that row to replace the content. I know it's a bit complicated in making you understand here in forum.

Regards

Also, I want to make only the row which will be added on clicking Add button editable. If I have already some rows in the table they shouldn't be edited
 
jQuery in Action, 2nd edition
 
subject: Inline editing in GWT Cell table
 
Similar Threads
Populating values to feilds from the Table
Padding in firefox
DEFAULTCELLEDITOR without double click action
div hidding and displaying
Table and cell editor