Skip to content

Commit 28c9228

Browse files
committed
Set TreeList minimal width
1 parent b4a3cac commit 28c9228

File tree

7 files changed

+23
-0
lines changed

7 files changed

+23
-0
lines changed

apps/demos/Demos/TreeList/AIColumns/Angular/app/app.component.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
::ng-deep #employees {
2+
min-height: 600px;
3+
}
4+
15
::ng-deep #employees .ai__cell {
26
background-color: var(--dx-datagrid-row-alternation-bg);
37
}

apps/demos/Demos/TreeList/AIColumns/React/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default function App() {
3030
autoExpandAll={true}
3131
aiIntegration={aiIntegration}
3232
onAIColumnRequestCreating={onAIColumnRequestCreating}
33+
className="ai__datagrid"
3334
>
3435
<Paging enabled={true} pageSize={10} />
3536
<Scrolling mode="standard" />

apps/demos/Demos/TreeList/AIColumns/React/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
background-color: var(--dx-datagrid-row-alternation-bg);
33
}
44

5+
.ai__datagrid {
6+
min-height: 600px;
7+
}
8+
59
#app .name_cell > div {
610
align-items: flex-end;
711
}

apps/demos/Demos/TreeList/AIColumns/ReactJs/App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default function App() {
2626
autoExpandAll={true}
2727
aiIntegration={aiIntegration}
2828
onAIColumnRequestCreating={onAIColumnRequestCreating}
29+
className="ai__datagrid"
2930
>
3031
<Paging
3132
enabled={true}

apps/demos/Demos/TreeList/AIColumns/ReactJs/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
background-color: var(--dx-datagrid-row-alternation-bg);
33
}
44

5+
.ai__datagrid {
6+
min-height: 600px;
7+
}
8+
59
#app .name_cell > div {
610
align-items: flex-end;
711
}

apps/demos/Demos/TreeList/AIColumns/Vue/App.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
:showBorders="true"
99
:aiIntegration="aiIntegration"
1010
:onAIColumnRequestCreating="onAIColumnRequestCreating"
11+
class="ai__datagrid"
1112
>
1213
<DxScrolling :mode="'standard'"/>
1314
<DxPaging
@@ -94,6 +95,10 @@ const onAIColumnRequestCreating = (e: { data: Partial<IEmployee>[] }) => {
9495
background-color: var(--dx-datagrid-row-alternation-bg);
9596
}
9697
98+
.ai__datagrid {
99+
min-height: 600px;
100+
}
101+
97102
#app .employee__cell > div {
98103
align-items: flex-end;
99104
}

apps/demos/Demos/TreeList/AIColumns/jQuery/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#treeList {
2+
min-height: 600px;
3+
}
4+
15
#treeList .ai__cell {
26
background-color: var(--dx-datagrid-row-alternation-bg);
37
}

0 commit comments

Comments
 (0)