+ {
+ // 中部表头
+
+ {
+ this.grid3 = dom;
+ }}
+ className={styles.headerGrid}
+ overscanColumnCount={
+ overscanColumnCount
+ }
+ columnWidth={this.getColumnWidth.bind(
+ this,
+ {
+ columns: showColumns,
+ showColumns,
+ },
+ )}
+ columnCount={columnCount}
+ width={width}
+ rowHeight={headerHeight}
+ rowCount={1}
+ height={headerHeight}
+ scrollLeft={scrollLeft}
+ cellRenderer={this.renderHeaderCell.bind(
+ this,
+ {
+ showColumns,
+ },
+ )}
+ />
+
+ }
+ {
+ // 中部内容
+
+ {rowCount > 0 ? (
+ {
+ this.grid4 = dom;
+ }}
+ className={styles.centerGrid}
+ overscanColumnCount={
+ overscanColumnCount
+ }
+ overscanRowCount={
+ overscanRowCount
+ }
+ columnWidth={this.getColumnWidth.bind(
+ this,
+ {
+ columns: showColumns,
+ showColumns,
+ },
+ )}
+ columnCount={columnCount}
+ width={realWidth}
+ rowHeight={rowHeight}
+ rowCount={rowCount}
+ onScroll={(
+ ...arg: Array
+ }
+
+ );
+ }}
+