Unidbgrid自动调整列宽

Posted on 2019-08-12 09:08  阿骏骏  阅读(787)  评论(1编辑  收藏  举报

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()})
}

 

Copyright © 2024 阿骏骏
Powered by .NET 8.0 on Kubernetes