1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 20:12:41 +02: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();