Просмотр исходного кода

fluid height for grid

tags/2.037
Patrick Sun 5 лет назад
Родитель
Сommit
a5809bd75a
2 измененных файлов: 6 добавлений и 2 удалений
  1. +2
    -2
      src/app/transaction-list/transaction-list.component.html
  2. +4
    -0
      src/app/transaction-list/transaction-list.component.scss

+ 2
- 2
src/app/transaction-list/transaction-list.component.html Просмотреть файл

[kendoGridBinding]="gridView" [kendoGridBinding]="gridView"
kendoGridSelectBy="id" kendoGridSelectBy="id"
[selectedKeys]="mySelection" [selectedKeys]="mySelection"
[pageSize]="20"
[pageSize]="10"
[pageable]="true" [pageable]="true"
[sortable]="true" [sortable]="true"
[groupable]="false" [groupable]="false"
[reorderable]="true" [reorderable]="true"
[resizable]="true" [resizable]="true"
[height] = "1170"
[height] = "700"
class="fullheight_grid" class="fullheight_grid"
[columnMenu]="{ filter: true }" [columnMenu]="{ filter: true }"
> >

+ 4
- 0
src/app/transaction-list/transaction-list.component.scss Просмотреть файл



.text-bold { .text-bold {
font-weight: 600; font-weight: 600;
}

.fullheight_grid {
height: calc(100vh - 48px) !important;
} }

Загрузка…
Отмена
Сохранить