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

[CLOSED] dt:filterType="'select'" not working with ajaxsource #137

Closed
tduchateau opened this issue Jan 28, 2014 · 3 comments
Closed

[CLOSED] dt:filterType="'select'" not working with ajaxsource #137

tduchateau opened this issue Jan 28, 2014 · 3 comments

Comments

@tduchateau
Copy link
Member

Issue by jntakpe from Friday May 17, 2013 at 09:59 GMT


As mentionned in the title I can't make dt:filterType="'select'" work with ajaxsource because fnGetColumnValues is called before ajax call.
I get the following error :
TypeError: sValue is undefined
if (bIgnoreEmpty == true && sValue.length == 0) continue;
line : 77 in filtering.js
I don't work if its a bug or maybe i just can't use ajaxsource with select filtering.

Regards,
jntakpe

@tduchateau
Copy link
Member Author

Comment by tduchateau from Friday May 17, 2013 at 14:21 GMT

That's a bug :-)

@tduchateau
Copy link
Member Author

Comment by tduchateau from Friday Jul 05, 2013 at 08:13 GMT

Notes for myself:

  • try to apply the columnFilter plugin in the fnInitComplete function.
  • AJAX & AJAX+server-side concerned

@tduchateau
Copy link
Member Author

Comment by tduchateau from Sunday Jul 21, 2013 at 20:00 GMT

This bug has been fixed in 727b36b.

Important note: select filtering is only available with DOM and AJAX sources but not with AJAX + server-side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant