May I use the time input on my custom control outside Editor?

May I use the time input on my custom control outside Editor?

VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0
edited December 2015 in Editor

I would like to use it outside the Editor. Is it possible to use or better take another timepicker?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    There isn't any documentation for how to do that, but typically yes it can be done - you would use:

    new $.fn.dataTable.Editor.DateTime( input, options );
    

    where input is the input element to attach the date / time picker to and options is a configuration object of the options for the control.

    The goal is to have this publicly accessible and documented in future, I just want to confirm its usefulness and stability first.

    Allan

  • VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

    Agaaaaaaa!!!
    Thanks a lot Allan)

This discussion has been closed.