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

special number format like 1'000'000 #9

Closed
ghost opened this issue Oct 27, 2013 · 2 comments
Closed

special number format like 1'000'000 #9

ghost opened this issue Oct 27, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 27, 2013

hi daniel!

thanx for writing "Yet Another DataTables Column Filter".

question: I want to filter (range-slider) a price col with the format:
1'000'000 etc. but the filter function stops to work.

I am not a scripting expert… is there a simple solution
to make this format work?

many thanx!!!

lopezinho

@vedmack
Copy link
Owner

vedmack commented Oct 28, 2013

I will add a new parameter for this option something like

range_number_seperator_char

and you will be able to set it with any char that later on will be ignored in the column cells while doing the filtering...

@vedmack
Copy link
Owner

vedmack commented Nov 4, 2013

fixed, in version 0.4.2 , Added new attribute to yadcf constructor: ignore_char, Tells the range_number and range_number_slide to ignore specific char while filtering (that char can used as number separator) , you can see it in the yadcf webpage in http://yadcf-showcase.appspot.com/multiple_tables.html (second table)

@vedmack vedmack closed this as completed Nov 4, 2013
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