hello,i set mygrid.setInitWidths(“90,90,90,90”); I wang click one button to realize full screen
of the table, I just make the div bigger, how can I make every cell’s width become bigger?
You may try to set the widths of your columns in percentages using setInitWidthsP() method:
docs.dhtmlx.com/doku.php?id=dhtm … nitwidthsp
mygrid.setInitWidthsP("25,25,25,25")
I have a button, when I click it, the grid will maximize and when I click it again the grid change back to the original. how can I do it
You need to change the width of the grid’s container.
For example:
var div = document.getElementById('gridbox');
div.style.width ="400px";