FixedColumns().update

FixedColumns().update

radharkradhark Posts: 2Questions: 1Answers: 0

How to update a cell value in a fixedColumn.

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    cell().data() will update the cell. Then call fixedColumns().update() to refresh the fixed column display.

    Allan

  • radharkradhark Posts: 2Questions: 1Answers: 0

    Thanks allan.
    I have used the same to update the cell value, but it is not updating. here is my code
    priceDT.cell(cell.index().row, 23 ).data(25).draw();
    priceDT.fixedColumns().update();

    After this, the value in the cell is not changed to 25. It is showing the old value.

  • kthorngrenkthorngren Posts: 21,299Questions: 26Answers: 4,945

    Looks like it works in this example that I created. It also works without fixedColumns().update(). Maybe you can update the example with your code to show the issue.

    Kevin

This discussion has been closed.