@(Html.DevExtreme().DataGrid() .ID("gridContainer") .ShowBorders(true) .Paging(p => p.Enabled(false)) .Editing(e => e.Mode(GridEditMode.Popup) .AllowUpdating(true) .Popup(p => p .Title("Employee Info") .ShowTitle(true) .Width(700) .Height(525) .Position(pos => pos .My(HorizontalAlignment.Center, VerticalAlignment.Top) .At(HorizontalAlignment.Center, VerticalAlignment.Top) .Of(new JS("window")) ) ) .Form(f => f.Items(items => { items.AddGroup() .ColCount(2) .ColSpan(2) .Items(groupItems => { groupItems.AddSimpleFor(m => m.BrandName); groupItems.AddSimpleFor(m => m.BrandName) .ColSpan(2) .Editor(editor => editor.TextArea().Height(100)); }); })) ) .Columns(columns => { columns.AddFor(m => m.BrandName) .Width(70); }) .DataSource(d => d.Mvc() .Controller("DataGridEmployees") .LoadAction("Get") .UpdateAction("Put") .Key("ID") ) .DataSourceOptions(d => d.Filter("['ID', '<=' , 14]")) )