Our blazing fast Grid component built with pure JavaScript


Post by dalia.trujillo »

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


Post by mats »


Post by dalia.trujillo »

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;

Post by tasnim »

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
Screenshot 2023-05-11 130354.png (80.88 KiB) Viewed 383 times

Post Reply