I can't set the minimum height for the rows, the autoHeight works for me for long texts, but for short texts the field appears very small, therefore I want a larger size by default. I have tried styling the row, adding the minHeight property and rowHeight. Nothing has worked for me the row still does not change size
Support Forum
Just set rowHeight
on the Grid instance. https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight
I have added that property and also the minHeigth and it does not work, I attach the implementation
const me = this;
me.grid = new TreeGrid({
appendTo : 'container',
height : 800,
responsiveLevels : {
small : 400,
medium : 800,
large : '*'
},
features : {
filter : true,
stripe : true,
search : true,
rowCopyPaste : false,
cellEdit : false
},
loadMask : 'Loading tree data...',
rowHeight: 100,
columns: [
{ text: 'ID', field : 'id', hidden: true },
{ text: this.translate.instant("dolphinFiles.name"), field : 'nombre', width : 205, type : 'tree'}
]
});
me.search = me.grid.widgetMap.searchField;
me.previousBtn = me.grid.widgetMap.prevBtn;
me.nextBtn = me.grid.widgetMap.nextBt;
me.grid.store.data = data;
Hi,
It is working fine with our online demo with the latest version https://bryntum.com/products/grid/examples/basic/
Could you please upload a runnable test case so we can run and debug it?
- Attachments
-
- Screenshot 2023-05-11 130354.png (80.88 KiB) Viewed 385 times