Posted 15 October 2017, 11:41 pm EST
Hi,
I am new to Wijmo and I am using Wijmo chart to populate data into table.
My issue is:
when the filter values are changing manually by user in filter window, settings are getting retained.
when filter is clicked it shows the previous values entered by user as is working as expected.
But when we try to change these values programatically, filter not showing these values on filter window.
I am settings the filter values as :
this.flexGridFilter.filterDefinition = ‘values’
I used localStorage to populate the filters.
I registered a function “updateFilterTypes” to “filterChanging” event. So when user clicks the menu “updateFilterTypes” gets called. In this event I am setting the type of filter to “1” which is value filter.
And the issue arises i.e values set programatically are not showing in the filter window.
Registered a function to “filterChanging” event like this :
this.flexGridFilter.filterChanging.addHandler(this.updateFilterTypes.bind(this));