Skip to content

Commit 6c9617f

Browse files
authored
Merge pull request #454 from UiPath/emi/dense-grid
Add support for High Density mode in ui-grid
2 parents 2f0625a + 22372f0 commit 6c9617f

File tree

15 files changed

+356
-114
lines changed

15 files changed

+356
-114
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-components",
3-
"version": "15.1.7",
3+
"version": "15.2.0",
44
"author": {
55
"name": "UiPath Inc",
66
"url": "https://uipath.com"

projects/angular/components/ui-grid/src/models/dataModel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ export interface GridOptions<T> {
3030
rowSize?: number;
3131
resizeStrategy?: ResizeStrategy;
3232
selectablePageIndex?: boolean;
33+
hasHighDensity?: boolean;
3334
}

projects/angular/components/ui-grid/src/ui-grid.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@
743743
<ui-suggest *ngLet="(column.dropdown!.suggestValue ?? []) as suggestValue"
744744
[disabled]="false"
745745
[compact]="true"
746+
[hasHighDensity]="hasHighDensity"
746747
[multiple]="column.dropdown!.multi"
747748
[clearable]="column.dropdown!.multi"
748749
[searchable]="false"
@@ -790,6 +791,7 @@
790791
[attr.data-cy]="getColumnName(column, 'ui-grid-search-filter')"
791792
[multiple]="column.searchableDropdown!.multiple"
792793
[compact]="column.searchableDropdown!.multiple"
794+
[hasHighDensity]="hasHighDensity"
793795
[displayCount]="column.searchableDropdown!.displayCount"
794796
[minChars]="column.searchableDropdown?.minChars ?? 0"
795797
[maxSelectionConfig]="{

0 commit comments

Comments
 (0)