Datepicker as default popup editor for datatable

Hello. I’ am beginner in Webix.
I have a trouble with setting default popup editor for datetable. I try to set datepicker instead calendar for datetable columns.
I have snippet http://webix.com/snippet/1e791214

When i open datepicker and click to the next month arrow - datepicker component closes.
Is it a bug or may be i write something wrong in code?

Hi, it’s normal behaviour for popup editors. Any click outside the editor or its popup stops editing of the master component (saves editor value and closes the editor). That’s why the popup with a datepicker closes - the click target is outside it.

So you should use “date” editor for this use case.

Thank you for answer!

I used “date” editor before.
Like this http://webix.com/snippet/8a15243f

But now I want to edit date fields in datatable, not only by selecting day in calendar. I want to edit date field in datatable by typing in field and by selecting day in calendar(which opens when i click to the calendar icon in the right part of the field).

Should i implement custom componet for this? Or may be there is simple approach?

Sorry for my English.

Hello, Helga.
We use “date” editor in datatable, but we need to be able to manually change date: user can type “04.20.2016” directly in datatable cell or pick the date in the calendar popup.
Is there any way to implement such behaviour?

You can create a custom editor with the needed functionality.

Check the snippet, please http://webix.com/snippet/857844d0. Though it’s rather an approximate solution, it may satisfy your needs.

Thank you, I will give it a try

Hello again.
The snippet works well, but when I open calendar in an empty field,
the date has format “Mon Feb 08 2016 00:00:00 GMT+0300”
I tried to specify format, but didn’t succeed.
Can you help me, or is it too hard to implement?