Skip to content
Hill Liu edited this page Jul 12, 2018 · 6 revisions

Git Hub

fixed-data-table 2

fixed-data-table

Take a note

known issue

how fixed table handle cell

    if (React.isValidElement(props.cell)) {
      content = React.cloneElement(props.cell, cellProps);
    } else if (typeof props.cell === 'function') {
      content = props.cell(cellProps);
    } else {
      content = (
        <FixedDataTableCellDefault
          {...cellProps}>
          {props.cell}
        </FixedDataTableCellDefault>
      );
    }

Clone this wiki locally