Kendo UI的默认菜单很棒,但Bootstrap的菜单非常棒。在通过kendo ui调用菜单时,为了保持相同的Bootstrap菜单的结构,我必须做些什么?如何修改kendo UI菜单的默认html?
@(Html.Kendo().Menu()
.Name("menu")
.Items(menu =>
{
menu.Add().Text("Home").Action("Index", "Home");
menu.Add().Text("Customers").Items(cust =>
{
cust.Add().Text("Manage").Action("Index", "Customer");
cust.Add().Text("New Customer").Action("Create", "Customer");
});
menu.Add().Text("Cards").Items(card =>
{
card.Add().Text("Manage").Action("Index", "Card");
card.Add().Text("Diagnosis").Action("Diagnosis", "Card");
card.Add().Text("Personalise").Action("PrintPersonalise", "Card");
});
menu.Add().Text("Reports").Items(report =>
{
report.Add().Text("Download report").Action("Index", "TerminalDownloadLog");
report.Add().Text("Transaction report").Action("Index", "Transaction");
});
menu.Add().Text("About").Action("About", "Home");
}))