This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inline editing in GWT Cell table  RSS feed

 
Anand Jain
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!