Problem with editable Datatable and onAfterSelect and onEditorChange Event

Hi webix Team,
in my snippet https://snippet.webix.com/80tkeeex I have a problem with editable Datatable and onAfterSelect and onEditorChange Event. When I click on the Rating Column the onAfterSelect fires but when I change the Rating the onEditorChange Event don't fire. The second problem is when I change the Rating and type the Enter Key then the Rating Column is blocked.
Thanks for advice

Comments

  • edited March 26

    Hello @RainerRoss,

    When I click on the Rating Column the onAfterSelect fires but when I change the Rating the onEditorChange Event don't fire.

    As far as I can see it work fine.
    Unfortunately, I can’t repeat the described issue. Could you please specify the browser and Webix version?

    The second problem is when I change the Rating and type the Enter Key then the Rating Column is blocked.

    onAfterSelect is not called repeatedly if the cell is selected. If you just need to check whether the editor can be opened on a specific cell then it is better to useonBeforeEditStart event and check it:
    https://snippet.webix.com/npr4gryq

    And if you need to open editors on some action (datatable events) you can use onItemClick/onItemDblClick instead onAfterSelect event.
    Please take a look at the snippet:
    https://snippet.webix.com/jhuqifvd

  • Hello @annazankevich
    thanks for your advice. Is there a Event to detect whether the Value of a Cell is changed by the Editor

  • Hello @annazankevich, a lot of thanks - thats it

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!