Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这里它说我可以得到宽度(我猜是列),但我唯一能得到的是列 ID。
grid.getState()
编辑:回应Ext.encode(grid.getState())
Ext.encode(grid.getState())
{"columns":[{"id":"280"},{"id":"279"}],"sort":{"property":"DEPARTMAN_NO","direction":"ASC","root":"data"}}
如果您的原始列宽未更改getState,则不会返回此列的宽度信息。
getState