0

Pulling data back into model from grid/tree when using row renderer classes?

asked 2011-05-31 02:38:49 +0800

davout gravatar image davout
1435 3 18

I have a couple of situations where I'm using grids and trees for data entry. Both are complex situations where I need to use custom renderer class to push data into the tree or grid.

For such situations, is it possible to have the data in the grid/tree pushed back into the underlying model? Remember, I'm using custom renderer classes not annotations.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-05-31 20:07:00 +0800

SimonPai gravatar image SimonPai
1696 1

Hi davout,

I believe in this case you will have to operate on the model upon UI actions. For example, listen to onChange event of a textbox, and use ListModelList#set() method to update the bean. This will update the model and UI at the same time.

Regards,
Simon

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-05-31 02:38:49 +0800

Seen: 234 times

Last updated: May 31 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More