ghusse / jQRangeSlider

A jquery UI range selection slider that supports dates
http://ghusse.github.com/jQRangeSlider/
GNU General Public License v3.0
670 stars 147 forks source link

Can we pass our array to the daterangeslide? #228

Closed adeel-sohail closed 6 years ago

adeel-sohail commented 6 years ago

Usually in the dateRangeSlider a start and end value is passed and it automatically adjust itself. But i want to pass the dates array of my own because i have duplicate dates also . can i do this in this plugin ?

Any kind of help would be much appreciated

ghusse commented 6 years ago

Hello,

I don't know exactly what you're trying to do, but I'm not really sure you could do it with jQRangeSlider.

On Thu, Dec 14, 2017 at 3:43 PM, adeel3612 notifications@github.com wrote:

Usually in the dateRangeSlider a start and end value is passed and it automatically adjust itself. But i want to pass the dates array of my own because i have duplicate dates also . can i do this in this plugin ?

Any kind of help would be much appreciated

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ghusse/jQRangeSlider/issues/228, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgLjddgZ_Gj9YvaMAWQtZEY1E3daxgeks5tATQqgaJpZM4RCKeS .

adeel-sohail commented 6 years ago

Thank you @ghusse . Cheers! Just a question i have also created an issue that is it possible i can change the date label? i mean not the dates as a value but only for label. For example I have a date 13-Mar-2017 I want to show only 13-Mar. This should be applied only on the label because by getting the value i am having a query from the database.

adeel-sohail commented 6 years ago

@ghusse I figure that out by using the formatter we can format the labels !

ghusse commented 6 years ago

Hello,

You can use the formatter option, as described in the docs

On Mon, Dec 18, 2017 at 7:35 AM, adeel3612 notifications@github.com wrote:

Thank you @ghusse https://github.com/ghusse . Cheers! Just a question i have also created an issue that is it possible i can change the date label? i mean not the dates as a value but only for label. For example I have a date 13-Mar-2017 I want to show only 13-Mar. This should be applied only on the label because by getting the value i am having a query from the database.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ghusse/jQRangeSlider/issues/228#issuecomment-352338089, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgLjUqkKlggvgQfnAHvTJi1m0GnbVaBks5tBgengaJpZM4RCKeS .

adeel-sohail commented 6 years ago

@ghusse Thank you i figure that out.