Hi Team,
How to avoid the editing of next row unless the mandatory fields of the current row are satisfied in the data-table.
Please help me on this.
Thanks in advance
Hi Team,
How to avoid the editing of next row unless the mandatory fields of the current row are satisfied in the data-table.
Please help me on this.
Thanks in advance
try to handle onBeforeEditStart and return false in case of inconsistency.
Thanks for your reply,
I tried with adding return false but since after then the next line gets editable.
Is there any event to prevent editable and release it on success in webix?
check your code once again. returning false must block edit beginning.
I checked it again but still it’s failing and i have a snippet https://webix.com/snippet/c49c4c54 shared by Helga. Also enables editing on cancel in the next row.
Please check the snippet for the clarity.
in the snippet onBeforeEditStop is handled, not onBeforeEditStart. but you are right, next editor should not be opened if prev one is not closed.