[SOLVED] Datatable, add row and edit

Hi…

How to add row data in datatable and immediately edit some cell?

For example: Code Snippet

But not work… thanks in advance

Hello!
Here is an example that helps you to solve it: https://webix.com/snippet/f04a93c7
The method <a href = "https://docs.webix.com/api__link__ui.datatable_add.html">add() helps you to add data rows in datatable. And here you can find information about how to edit the data.

Many thanks, now work fine…

@Nastja Is it possible to allow the user to edit the new row but not the pre-existing rows?

try to handle onBeforeEditStart event and return false if the editing row does not satisfy conditions.