Hi, I am reading through a lot of Q&As. Some leave me with more questions then answers. I saw one where one datasource was used by two panels. I guess you could have a grid using datasource1 and a panel which is the single record view of that row in that datasource. So my questions are: - is that possible - when you update fields in the single record view panel, do you need to perform an api_datasource.refreshRow? - I saw that in the relevant Q&A something was mentioned about defining a dummy event to force a refresh? |
Hi Raymond, Formspider automatically informs all components using the same datasource column about any update made on this column when a Formspider event occurs. Thus, if you update a field in the single record view panel, this change will be reflected to the grid when a Formspider event is triggered (like buttonPress, valueChanged etc.), you don't need to make any API call. If you want to reflect any update made on the single record view panel to the grid immediately, you can define dummy(without an action) events on the single record view panel components. The dummy event forces Formspider to apply immediately any change made on the datasource column bound to the component to all components using the same column. Hope this helps, Thanks Ibrahim, that is very neat. I am not sure if this really nice feature is explained in one of the demo apps. I am loving Formspider more and more each minute :-)
(22 Feb '14, 16:54)
Raymond
Great to hear this Raymond! :-)
(22 Feb '14, 17:09)
Yalim ♦♦
|