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?

asked 22 Feb '14, 07:43

Raymond's gravatar image

Raymond
24326
accept rate: 0%


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,
Ibrahim

link

answered 22 Feb '14, 09:20

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

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 ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×64
×8
×7

Asked: 22 Feb '14, 07:43

Seen: 965 times

Last updated: 22 Feb '14, 17:09


© Copyright Gerger 2017