Search the Community
Showing results for tags 'autosize'.
-
sample code to resize automaticaly uniDbGrid columns: thanks to Oleg by the model code. 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; }; } ) } Demo project Attached. uniDBGrid_Column_AutoSize.rar
-
Is there a way of auto sizing columns in a UniStringGrid so that the width of the column is based on the widest cell text item in the column?
- 2 replies
-
- stringgrid
- autosize
-
(and 2 more)
Tagged with: