-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintain auto-populated list of filters when using multi_select_custom_func #178
Comments
You can use the append_data_to_table_data for that |
Daniel, it doesn't appear to be working for me. I am only getting the values I put in the data array. Here is my code:
|
Are you using the latest beta version? if yes, please provide a jsbin / jsfiddle |
Is there an existing jsfiddle I can edit? I couldn't post all of what I have and I'm not really sure how to setup a jsfiddle with all of the required files. I am using the new beta version. The new custom_func() is working well with rowValues |
You can modify the following jsbin |
Not sure what I'm doing wrong here, but I can't get a jsbin to work at all. Maybe select2 is not available in jsbin. I'm a novice programmer. |
added fix to yadcf so grab the latest beta version and fixed your example |
Still can't get it to work. I tried copying everything directly to my code and no luck. Everything else works and I get no error messages in the console. |
Since it does work fine in the jsbin, I wont be able to help you more without a live sample with your issue |
I've managed to make a live example that shows the problem. I think it must be something to do with the ajax. I had to email you the ajax file as I wasn't sure how to host it on jsbin. Here is the JSBIN |
I am getting a jquery error. Try this jsbin, I think I have correctly linked to the new beta release. http://jsbin.com/gikulu/1/edit?html,js,console,output Also, is it possible to use the sort options to put the grouped selections at the top of the list? Like prepend them instead of append them? I know this is a real PITA, but thank you for such a great plugin. |
it will take me some time to fix it properly for ajax too... I'll update this issue when I'll finish this one |
should work now, try the latest beta... |
It is working now, thank you very much! I tried using sort_order with this but it doesn't do anything. Will it be possible to select a sort order with this, or put the grouped selections at the top of the list? Would you prefer I open another ticket for that? Once again, thank you for the work on this. |
No need for new issue, I'll abuse this one... |
updated, read updated docs if you want to add your data array before on top of the select use |
This works great, thank you . |
I'm having issues where I can get the myCustomFilterFunction cases working, but when trying to select any of the populated values in that column, it doesn't filter and displays all rows. Also when selecting multiple myCustomFilterFunction cases or a myCustomFilterFunction case and a populated value, I get no rows returned. Used code from here |
If you use the multi_select_custom_func to make a custom filter selector, the selection list is no longer populated with all the possible values for that column.
It would be nice to add a custom filter to the list, but still have the list populate with all the other possible values.
The text was updated successfully, but these errors were encountered: