Hi,
I created a TileLayout with MVC
@(Html.Kendo().TileLayout()
.Name("zoneWorkflow").Columns(1)
.Gap(g => g.Columns(8).Rows(8))
.Columns(1)
.Reorderable(true)
.Resizable(true)
.HtmlAttributes(new { Title = this.LocalResources("LegendeEtapes") })
.RowsHeight("auto"))
On the header template I added a button to remove tile with handle to
removeOperationBox(e) { // e is a KendoButton into Header tile
const itemId = e.sender.element.parents("div[role='listitem']").attr("id");
const workflow = $("#zoneWorkflow").data("kendoTileLayout");
const index = workflow.items.findIndex(i => i.id === itemId);
workflow.items.splice(index, 1);
}
I tried the example of remove from Add / Remove TileLayout but this operation remove all jquery listeners from remaining tiles.
Thanks
For help I created a demo project