public static DataGridBuilder <T> CommonConfigs <T>(this DataGridBuilder <T> grid) { return(grid .ShowBorders(true) .ShowRowLines(true) .ShowColumnLines(false) .RowAlternationEnabled(true) .HoverStateEnabled(true) .RemoteOperations(false) .WordWrapEnabled(true) .ColumnHidingEnabled(true) .SearchPanel(DXGridConfigs.ShowSearchPanel()) .Paging(DXGridConfigs.MasterPaging()) .Pager(DXGridConfigs.Pager()) .OnContentReady("dxGrid.handlers.onContentReady") .OnToolbarPreparing("dxGrid.handlers.onToolbarPreparing") .OnRowInserted("dxGrid.handlers.onRowInserted") .OnRowUpdated("dxGrid.handlers.onRowUpdated") .OnRowRemoved("dxGrid.handlers.onRowRemoved") .OnRowClick("dxGrid.handlers.onRowDoubleClick") ); }