I create custom button on ListView. Then i create new object, new button has null ID. Please see snipet.
Steps:
- Click Create.
- Fill edit form.
- Click save.
Click options and see alert null;
save: function(e) { // What i can do this, if i know id here? e.model.id = ids++; },