Persisting DataGrid2 Selections Between Project Creation and Edit Pages

0
I’m using DataGrid2 on both the project creation page and the project edit page. Both Datagrids2 show the same set of values. When I create a project and pick some values in the DataGrid2 on the creation page, I want those same values to already be pre-selected when I go back and open the project in the edit page
asked
1 answers
0

Hello ;) 

 

What I suggest you do is use a create - validate - save pattern where in the creation. For general details about that you can inspect this following resource by Johan. 

 

Regarding your concrete concern I believe you should create your 'Project' object and after you input the project details when the user presses the save button your 'Project' object should be committed. Afterwards, when you open it for editing it you should be able to see the previously saved changes. 

 

answered