Procházet zdrojové kódy

fluid height for grid

tags/2.037
Patrick Sun před 5 roky
rodič
revize
a5809bd75a
2 změnil soubory, kde provedl 6 přidání a 2 odebrání
  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 Zobrazit soubor

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

+ 4
- 0
src/app/transaction-list/transaction-list.component.scss Zobrazit soubor

@@ -24,4 +24,8 @@

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

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

Načítá se…
Zrušit
Uložit