javascript - JQDateRangeSlider change bounds issue -


i'm working daterangeslider first time , i'm using timeslider: fiddlejs

the problem when button pressed min bounded value, or max one, should change, doesn't min or broke slider when pressing button max.

the default values january 1st:

var mindatestr = "2014-01-01t00:00:00z"; var maxdatestr = "2014-01-01t23:59:00z"; 

to display hours:minutes 1 day , button bounded values january 5th:

min :new date("2016-01-05t05:00:00z") 

is there way change min , max bounds "2016-01-05t05:00:00z" without changing default values (january 1st)?

i'm not sure if task you're trying achieve practical or possible.

  • according documentation, slider values can changed code @ initialization. means if set either min2 or max2 either end bound, slider can't "jump" there represent area you've selected. not practical.

  • moreover, in documentation, couldn't find way values @ labels "standing". apparently, min2 , max2 not modified serve rather regular , unmodified js constants.

you can modify bounds if desire so, have use html inputs dates. doesn't seem possible defining new bounds selected range.


Comments

Popular posts from this blog

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

Java Entity Manager - JSON reader was expecting a value but found 'db' -