I
I
Igor Morev2016-09-16 05:25:13
JavaScript
Igor Morev, 2016-09-16 05:25:13

How to disable the selection of years in the calendar?

Hi all. Has anyone worked with this calendar docs.dhtmlx.com/calendar__index.html? Everything suits him, but there is one drawback. It is not possible to limit the range of year selection in the popup tooltip. Does anyone know the solution to this problem? Or advise, pliz, another calendar with such an opportunity (without jquery, this is important).
In general, I solved the problem, got into the source code and corrected it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
xmoonlight, 2016-09-16
@xmoonlight

Well, refine it on the bubbling event ...

O
Oleg, 2016-09-16
@politon

What kind of restriction do you need?
You can just remove the arrows and you won't be able to click on the buttons ;)
you can change the css...
If you remove something with the script, then you connect the desired action after dhtmlx.js

<script src="http://dhtmlx.com/docs/products/codebase/dhtmlx.js"></script>
  <script>Здесь нужное действие</script>

A
Alexey Ukolov, 2016-09-16
@alexey-m-ukolov

docs.dhtmlx.com/api__dhtmlxcalendar_setsensitivera...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question