Skip to content
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

Filter does not work when columns hidden per Buttons API #406

Closed
hrrhrst opened this issue Jun 6, 2017 · 5 comments
Closed

Filter does not work when columns hidden per Buttons API #406

hrrhrst opened this issue Jun 6, 2017 · 5 comments
Labels

Comments

@hrrhrst
Copy link

hrrhrst commented Jun 6, 2017

It seems the PugIn is not capable of applying filters when some columns are hidden via Button API.
It seems to appear more often when you hide columns and then reorder some other columns.

jquery.dataTables.yadcf.js:654 Uncaught TypeError: Cannot read property 'length' of undefined
at escapeRegExpInArray (jquery.dataTables.yadcf.js:654)
at yadcfMatchFilterString (jquery.dataTables.yadcf.js:775)
at exFilterColumn (jquery.dataTables.yadcf.js:3998)
at Object.exFilterExternallyTriggered (jquery.dataTables.yadcf.js:4367)
at executeFilter (dataTables.js:612)

@hrrhrst hrrhrst changed the title Filterin does not work when columns hidden per Buttons API Filter does not work when columns hidden per Buttons API Jun 6, 2017
@vedmack
Copy link
Owner

vedmack commented Jun 6, 2017

Please provide a link to a jsbin/jsfiddle with a test case

@hrrhrst
Copy link
Author

hrrhrst commented Jun 7, 2017

Would a link to a demo-system also be okay? Would be much easier for me right.

@vedmack
Copy link
Owner

vedmack commented Jun 7, 2017

yes, but I might ask to link to a yadcf in my dropbox so I will be able to debug it

@hrrhrst
Copy link
Author

hrrhrst commented Jun 7, 2017

that souldn't be a problem. i will send you a link and login via email soon.

vedmack added a commit that referenced this issue Jun 9, 2017
@vedmack vedmack added the bug label Jun 9, 2017
@vedmack
Copy link
Owner

vedmack commented Jun 9, 2017

fixed in 0.9.2.beta.12

@vedmack vedmack closed this as completed Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants