You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
源码中有render属性
export interface ArtColumnDynamicPart {
/** 自定义取数方法 /
getValue?(row: any, rowIndex: number): any;
/* 自定义渲染方法 /
render?(value: any, row: any, rowIndex: number): ReactNode;
/* 自定义的获取单元格 props 的方法 /
getCellProps?(value: any, row: any, rowIndex: number): CellProps;
/* 自定义的获取单元格 SpanRect 方法 /
getSpanRect?(value: any, row: any, rowIndex: number): SpanRect;
}
export interface ArtColumn extends ArtColumnStaticPart, ArtColumnDynamicPart {
/* 该列的子节点 */
children?: ArtColumn[];
}
但是实际使用时不生效,不打印111
checkboxColumn: {
width: 30,
render(value, row, rowIndex) {
console.log(111)
return
},
},
The text was updated successfully, but these errors were encountered: