strange .bind method behahiour

Good day webix community members.

I’m trying to bind form to datatable using following:

webix.ui(ui_1);
$$(‘form1’).bind($$(‘datatable1’));
$$(“win1”).show();

After page refresh form1 are showing with empty values for the first time. when i reselect item in datatable everything works fine in the future.

Here is a snippet to repoduce - http://webix.com/snippet/b3a7a595
Did i missed something?

Try to change the code like next

http://webix.com/snippet/3629f865

DataTable doesn’t track the cursor until the “bind” API was executed at least once. In the updated snippet bind is called just after datatable and form creation, instead of using bind against the newly created form.