How to read table values after they have been edited

How to read table values after they have been edited

mpenampena Posts: 1Questions: 1Answers: 0

I apologize if this question has been asked already.

I am trying to read a column after it has been modified. However, when I read the column, it shows the value when the table first loaded and not the updated value. Here's an example:

self.DataTable.row(index).data()['EmailFl']

This cell is a checkbox. On load, the value is "true." When I uncheck the cell, I expect the value to be "false"; however, it does not update. It will stay "true" for the duration of the session. The only way I found to fix this is to set the value manually on each data change which is a pain. I'm sure there's something I'm missing.

Thanks in advance for the help.

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.