In a grid I'm setting up the column menu with the tabbed component style. I would like to add a menu to the second tab.
In the documentation, I found Column Menu mentioning the ColumnMenuInit event. I was able to set up this event and it gets triggered when first opening the menu for a field. But I cannot locate the kendoMenu with
let menu = e.container.find(".k-menu").data("kendoMenu");I could locate the panels through
let tab = e.container.find("[role=tabpanel]");but my quest stranded there.
The grid is something like this
@(Html.Kendo().Grid<DashboardViewModel>()
.Name("dashboard")
.Columns(...)
.Events(e => e.ColumnMenuInit("menuInit"))
.ColumnMenu(menu =>
{
menu.ComponentType("tabbed");
menu.ClearAllFilters();
menu.AutoSize();
})
...
)
So how can I accomplish adding a menu to the second tab?
Thanks in advance