Need a special offer?Find out if your project fits.
+

Is it possible to access filter list

Answered
arnaud desbiens asked on October 5, 2017

I need to access data from 'fm-members-filter-list'. I need to filter the li's the way I want but unfortunately the ul only shows 7 li's and change with the scroll. So is there a way to access the members filter list data ? Or is it another way to achieve what I want to do. It's like every access to the data in flexmonster component is strictly closed off... Is it possible to have an unobfuscated version of flexmonster.js so i can actually do what I want with the code i bought.. ?
 
Like, flexmonster answer to 95% of my needs. Lastly, I just need to be able to filter the 'fm-members-filter-list' with the current data in the grid. I don't want to show any other filter member than the one currently in the grid..

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster October 6, 2017

Hello, Arnaud,
Thank you for writing.
Flexmonster source code is not available as a part of your licensing plan. You can contact your client service manager and you will be provided with the possible options.
Concerning the access to the filter list, we recommend creating your own customized Filter Window. This way you will be able to access the members filter list data. Please use filteropen event to create Filter Window and getMembers API call to get a list of members for the specified hierarchy.
Let me know if the above solution is helpful.
Regards,
Tanya

Public
arnaud desbiens October 6, 2017

So, instead of just having a setMembers function i have to create my own window, rebind every flexmonster event to my custom window ? It sure is a solution..

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster October 10, 2017

Hello Arnaud,
We have prepared a workaround for you. If you use ocsv, csv and json data source types you can apply the sortOrder property. This property defines the order of the members in the filter. Please have a look at the following example - https://jsfiddle.net/flexmonster/39z1xy8y/.
Let us know if it works for you.
Regards,
Dmytro.

Please login or Register to Submit Answer