Multiple Date Editors In Datatable Row Editing.

Hi,

While i am trying to do a row editing which has multiple Date editors, Only one date selector is getting shown that too on the last Date editor column. Once we select a date, all other editors are getting closed which shouldn't happen when it is a row editing. How to stop this behavior of exiting from row editing on the selection of date?

Please check code snippet at "http://webix.com/snippet/04b4af0d" .
Please help me in this.

Regards,
Ranjith

Comments

  • Hi,

    Firstly, you can stabilize the editors by providing a popup with a calendar to your custom editor (that was a very basic example) and handling its events to edit the cell.

    Secondly, you need to prevent editor closing within the onBeforeEditStop event handler of the datatable. You will have to provide the ID of the master Datatable for the popup event handlers, which violates the editor concept, but still there's no other way to prevent editor closing.

    Please, check the updated snippet: https://webix.com/snippet/25b3703f

  • Thank you very much.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion