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

YADCF failing silently - jQuery 3.1.1 / YADCF 0.9.0 / Datatables 1.10.12 #360

Closed
JoeMellon opened this issue Oct 20, 2016 · 8 comments
Closed

Comments

@JoeMellon
Copy link

I have no idea or cannot find out why as nothing is logged, the filters just don't get appended to the table silently, yet debugging the initialization everything seems to be in order.

Any clue as to how I can find out what causing this?

Thanks!

@vedmack
Copy link
Owner

vedmack commented Oct 20, 2016

Nope, sorry

Here is a very basic jsfiddle setup that using the latest yadcf : jsfiddle.net/6c660hat/11 you can update it with your relevant code that reproduces the issue/s, dont forget to hit the Update button so a new fiddle will be created(updated url will be generated) then post

@JoeMellon
Copy link
Author

Thanks for the reply, cannot reproduce it using the basic fiddle. I use a custom generation of the column definitions in classes which then get passed into the initialization of the table in typescript. All worked fine until I updated everything to the latest version...maybe I'll have to revert back if I can't catch the errors.

@vedmack
Copy link
Owner

vedmack commented Oct 20, 2016

Then try a previous version of yadcf, in addition take a look at the dev tools console for possible errors, without a test case I cant do much

@JoeMellon
Copy link
Author

http://jsfiddle.net/6c660hat/54/ - managed to get it to fail using all the latest scripts. Although this is failing on Datatable call. Strange...running from my project the datatable initializes fine but no YADCF.

@vedmack
Copy link
Owner

vedmack commented Oct 20, 2016

fixed your fiddle, removed older jquery and moved your to the top in resources, continue form here http://jsfiddle.net/6c660hat/55/

@JoeMellon
Copy link
Author

Thanks for the responses - ok [http://jsfiddle.net/6c660hat/57/] - is this because I'm using the old api?

@vedmack
Copy link
Owner

vedmack commented Oct 21, 2016

Yep, I forgot that the jquery 3 support was added for newer yadcf api (.init)

anyway fixed that now in the 0.9.1.beta.6 version, here a jsfiddle

@vedmack vedmack closed this as completed Oct 21, 2016
@JoeMellon
Copy link
Author

That's great, thanks for providing such a good plugin.

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

No branches or pull requests

2 participants