I am binding flexmonster with JSON data, the data received by API is dynamic JSON. So we have no field definition available in advance.
When pivot load data first time it works good, but when we rebind the control using Pivot.updateData() after applying some filter on API and there is no data in response (empty json array) the UI does not clear old information, where I was expecting control to refresh and show nothing.
Can you please suggest me how I can clear the old information when there is no data in JSON.
Thank you for posting your question to the forum.
I have prepared a sample for you: https://jsfiddle.net/flexmonster/yhdv7nLe/
It illustrates how the
updateData() API call can be used to clear old information.
Please let me know if it is helpful for your case.