学习unigui【35】dbgrid字段宽度自适应
UniDBGrid1 -> ClientEvents -> ExtEvents [Ext.data.Store[store] ] add store.load fn:
function store.load(sender, records, successful, eOpts)
{
sender.grid.columnManager.columns.forEach(function(col){col.autoSize()})
}
UniDBGrid1 -> ClientEvents -> ExtEvents [Ext.data.Store[store] ] add store.load fn:
function store.load(sender, records, successful, eOpts)
{
sender.grid.columnManager.columns.forEach(function(col){col.autoSize()})
}