rgreat Posted January 22, 2018 Share Posted January 22, 2018 As seen here: http://forums.unigui.com/index.php?/topic/5247-unidbgrid-autosize-column/ function reconfigure(sender, store, columns, oldStore, the, eOpts) { Ext.each(columns, function(column, index) { if (!sender.columnManager) { sender.columns[index].flex=1; /*fit width, comment to disable*/ sender.columns[index].minWidth = 150; /*min.size*/ } else { sender.columnManager.columns[index].flex=1; sender.columnManager.columns[index].minWidth = 150; }; } ) } At server side we have flex property but no minWidth property. Please add minWidth property. Link to comment Share on other sites More sharing options...
Recommended Posts