Get Free Trial
Get Free Trial

missing API Event

Answered
Patrick TAVARIS asked on November 6, 2019

Hi,
Here is my use case :

  • I need to know when a pivotTable data cell(s) has been updated and there is a missing event in your API for that (i guess).

To fit my need I’m using aftergriddraw() but this event is triggered on data cells update (values) but also when user simply scroll vertically or horizontally or use sort order clic on header rows which led to unecessary updates on my side.
 
If I don’t forget anything, the different use cases to update data content are :

  • use filter popup windows (this use case can be caught using filterclose(), even if it doesn’t garantee any data change).
  • use filter list popup windows (same as previous point but using filterlistclose())
  • use of right click on a 1st col cell, then click on “filter value XXX”. I’ve not seen any event available in your API to trigger this event… 🙁

 
Am I missing an existing event of is there something that can be done on your side ? 
 
Waiting for your answer I will use aftergriddraw() and repeat my heavy code source everytime it is triggered.
 
Regards
 
L.

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 6, 2019

Hello,
 
Thank you for reaching out to us.
 
We kindly recommend find out the update event by following the link: https://www.flexmonster.com/api/update/. It is triggered when the component loaded data, updated data slice, filter or sort.
 
Also, check out the reportchange event. You will find the list of API calls / actions which trigger that event here: https://www.flexmonster.com/api/reportchange/.
 
Please let us know if it works for you.
 
Kind regards,
Illia

Please login or Register to Submit Answer