BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
@(Html.EJ().Grid<MvcApplication14.OrdersView>("FlatGrid")
.Datasource((IEnumerable<object>)ViewBag.data)
.AllowPaging()
.ContextMenuSettings(contextMenu =>
{
contextMenu.EnableContextMenu();
contextMenu.CustomContextMenuItems(new List<Syncfusion.JavaScript.Models.CustomContexMenuItems>() {
new Syncfusion.JavaScript.Models.CustomContexMenuItems() { Id = "MyMenu", Text = "MyMenuItem" } ,
});
})
.Columns(col =>
{
...
})
)
|
@using Syncfusion.JavaScript.Models;
@(Html.EJ().Grid<MvcApplication14.OrdersView>("FlatGrid")
...
.ContextMenuSettings(contextMenu =>
{
contextMenu.EnableContextMenu();
contextMenu.CustomContextMenuItems(new List<CustomContexMenuItems>() {
new CustomContexMenuItems() { Id = "MyMenu", Text = "MyMenuItem" } ,
});
})
.Columns(col =>
{
})
) |