react-tabulator icon indicating copy to clipboard operation
react-tabulator copied to clipboard

table.clearCellEdited()

Open Abhijeet501 opened this issue 3 years ago • 0 comments

table.clearCellEdited() returns undefined is that a bug or i am missing something ??

    <ReactTabulator
      id="table"
      style={{
        maxHeight: "100%",
      }}
      index="FileId"
      columns={[]}
      data={this.state.results}
      ref={(ref) => (this.gridSearchRef = ref)}
      options={{
        history: true,
        pagination: "local",
        paginationSize: 20,
        placeholder: "No Files Available",
      }}
      footerElement={<span id="resultsCount" style={{ float: "left" }} />}
      pageLoaded={(pageNumber) => {
        this.setGridFooterText(pageNumber);
      }}
    />
  

this.gridSearchRef.table.clearCellEdited();

returns undefined if I edited or not it always undefined I was looking for a way to clear edit history..

Abhijeet501 avatar Mar 26 '21 23:03 Abhijeet501