1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 17:27:59 +00:00

cleaned up history/log grid UI

This commit is contained in:
kay.one 2011-04-09 20:00:20 -07:00
parent e896af5cd0
commit af705cbf9a
2 changed files with 2 additions and 4 deletions

View file

@ -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();

View file

@ -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();