on 07-22-2015 7:13 AM
Hi
I have a view that contains tables which are filled by supply functions in the ComponentContoller. The supply function fills the relevant context elements which are then bound to the tables on the view. The user can select a row from the table for processing in a separate view. The user then submits their changes and they are returned to the main view.
The problem I have is refreshing the tables on the main view as after processing the data is different and I need to remove the row that the user has amended.
Any suggestions?
Thanks
Jon
Hello!
To call a supply function to refresh data use method INVALIDATE() of a corresponding context node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a refresh view scenario:
1. At first time the supply function is called automatically when the view is created. You don't have to invalidate the context node manually at this step.
2. After the data was changed by user you need to invalidate the context node manually to provide your context with new data. To do this you should call method INVALIDATE( ) of context node to which your table is assigned. This method triggers the supply function of the context node.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.