This is my html code:
<nb-card class="col-md-12 col-lg-12 col-xxxl-12">
<nb-card-header>
</nb-card-header>
<nb-card-body>
<div id="grid_dday_tracking" class="general"></div>
</nb-card-body>
</nb-card>
And this is code I set height for grid follow you:
const optionConf: any = {
width: 'auto',
height: '100%-15',
editModel: {
clicksToEdit: 1,
},
numberCell: {
show: false,
},
trackModel: { on: true }, // to turn on the track changes. using for rollback edit.
columnTemplate: { editable: false, rowHtHead: 30 },
rowHt: 30,
wrap: false,
hwrap: false,
collapsible: {
on: false,
css: {
zIndex: 1400,
},
},
type: 'local',
filterModel: { on: true, mode: 'AND', header: true, type: 'local' },
dataModel: {
data: [],
recIndx: 'so_no',
},
resizable: true,
editor: { select: true },
colModel: colModel,
animModel: {
on: true,
},
And the result is the picture. What should I do now?