Skip to content

Commit b4a3cac

Browse files
committed
Set Grid minimal height
1 parent 42e9513 commit b4a3cac

File tree

7 files changed

+23
-0
lines changed

7 files changed

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export default function App() {
4141
keyExpr="ID"
4242
aiIntegration={aiIntegration}
4343
onAIColumnRequestCreating={onAIColumnRequestCreating}
44+
className="ai__datagrid"
4445
>
4546
<Paging
4647
enabled={true}

apps/demos/Demos/DataGrid/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
.trademark__wrapper {
610
display: flex;
711
align-items: center;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default function App() {
3333
keyExpr="ID"
3434
aiIntegration={aiIntegration}
3535
onAIColumnRequestCreating={onAIColumnRequestCreating}
36+
className="ai__datagrid"
3637
>
3738
<Paging
3839
enabled={true}

apps/demos/Demos/DataGrid/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
.trademark__wrapper {
610
display: flex;
711
align-items: center;

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:showBorders="true"
66
:aiIntegration="aiIntegration"
77
:onAIColumnRequestCreating="onAIColumnRequestCreating"
8+
class="ai__datagrid"
89
>
910
<DxGrouping :contextMenuEnabled="false"/>
1011
<DxPaging :pageSize="10"/>
@@ -121,4 +122,8 @@ const onAIColumnRequestCreating = (e: { data: Partial<Vehicle>[] }) => {
121122
#app .ai__cell {
122123
background-color: var(--dx-datagrid-row-alternation-bg);
123124
}
125+
126+
.ai__datagrid {
127+
min-height: 600px;
128+
}
124129
</style>

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

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

0 commit comments

Comments
 (0)