timeslider icon indicating copy to clipboard operation
timeslider copied to clipboard

Change Cell Values after Initial

Open ghost opened this issue 6 years ago • 2 comments

After initial a TImeslide its not possible to change the value or add Values $('#slider123').TimeSlider({ init_cells: [ {'_id': 'c1', 'start': '0', 'stop': 605999}, {'_id': 'c2', 'start': 6051000, 'stop': 6051000*2} ];})

$('#slider123').TimeSlider({ init_cells: [ {'_id': 'c1', 'start': '5000', 'stop': 605999}, // Move

				];})

ghost avatar Oct 13 '17 20:10 ghost

I also face the problem like you did, I want to keep timeslider always follow current time in the middle of the screen. But it seems like you must destroy old timeslider and create a new one, but I also still don't know how to destroy a timeslider?

chiendangmr avatar Jan 15 '18 05:01 chiendangmr

Hi friend, I found solution for my problem, just you this:

_this.set_ruler_position( - _this.options.update_timestamp_interval * _this.px_per_ms);

chiendangmr avatar Jan 15 '18 10:01 chiendangmr