cleaned up history/log grid UI

pull/4/head
kay.one 14 years ago
parent e896af5cd0
commit af705cbf9a

@ -58,8 +58,7 @@
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Date).Descending()).Enabled(true)) .Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Date).Descending()).Enabled(true))
.Pageable( .Pageable(
c => c =>
c.PageSize(20).Position(GridPagerPosition.Both).Style(GridPagerStyles.PageInput | c.PageSize(50).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
GridPagerStyles.NextPreviousAndNumeric))
//.Filterable() //.Filterable()
//.ClientEvents(c => c.OnRowDataBound("onRowDataBound")) //.ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
.Render(); .Render();

@ -46,8 +46,7 @@
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Time).Descending()).Enabled(true)) .Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Time).Descending()).Enabled(true))
.Pageable( .Pageable(
c => c =>
c.PageSize(20).Position(GridPagerPosition.Both).Style(GridPagerStyles.PageInput | c.PageSize(50).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
GridPagerStyles.NextPreviousAndNumeric))
.Filterable() .Filterable()
.ClientEvents(c => c.OnRowDataBound("onRowDataBound")) .ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
.Render(); .Render();

Loading…
Cancel
Save