Deleting particular row and reconstruction of span.

Hi ,
I have to delete rows in data table which have multiple row Span. The scenario is given below.

1.I have to delete rows from data table having multiple span in that.
2.if data table contain single row and there is no row Span in that it should delete entire row.
3.if data table contain Row Span then only selected row from last two column get remove and without disturbing remaining span also data table row span must be rendered or reconstructed spans properly after successfully deletion of row.

Please try to solve in given Snippet for the mentioned scenario.

https://snippet.webix.com/igpamfm1

Hello,

In order to “update” the span after deleting a row which was included into it, you need to remove the initial span and re-add it with the new height.
If the deleted row was a source of a span, you need also update the ID of the start row.
Please, check the following snippet: https://snippet.webix.com/zc3ngi15

Thank you so much.It worked.