Regarding Remove row of dataTable having row span

Hi,
we get solution from you for remove row of data table . but I have to remove more than 100 rows at a time . In this case application get hang . It gives error that local host not responding.
My datatble having more than 6000 rows having row span . I delet rows in push that row Id in Array. after i For loop in Call your function to remove row and arrange span as it is but application get hang .
Please Provide us solution , that is fast and Application Should not get hang.
Snippet link is as follow

https://snippet.webix.com/wy53ayaz

Hello @Ninad

Unfortunately, I’m afraid the performance cannot be improved significantly.

The span is a static element rendered on top of the cells. The only way to change a span is to completely recreate it. In order to do so, the above code searchers the precise spans that include the row-to-be-deleted, removes them and creates new ones (if needed) with the updated coordinates.

Depending on the amount of found spans and their size the recalculation and rendering may take some time.

However, it is possible to revise the current solution in order to not call the addSpan if only one cell should be included to it (so the result is equal to a cell without a span).

Please, check the updated code: https://snippet.webix.com/wohdf3h5

Thank You So much

@Listopad