报表
This commit is contained in:
@@ -55,6 +55,11 @@ class ReceivableReport extends Component {
|
||||
const columns = this.config.columns || [];
|
||||
columns.forEach((col) => {
|
||||
col.cellRenderer = this.linkRender.bind(this);
|
||||
// 对固定宽度列(如序号列)单独设置 minWidth,避免被 defaultColDef 覆盖
|
||||
if (col.width && col.flex === 0) {
|
||||
col.minWidth = col.width;
|
||||
col.maxWidth = col.width;
|
||||
}
|
||||
});
|
||||
|
||||
this.gridOptions = {
|
||||
|
||||
Reference in New Issue
Block a user