On btn click Update rendered cell with new btn
On btn click Update rendered cell with new btn

As the title states, I am trying to update a cell with a new button once the old button has been clicked.
"<input id='RUSure' value='Are you sure?'/>"
var BTN = "<input id='RUSure' value='Are you sure?'/>"
table.cell(row, 3).data(BTN ).draw();
This is not working.
I have tried:
.value()
.clear().draw()
.invalidate().
This does however work on a cell with plain text.
This discussion has been closed.
Replies
Hi @Igorski88 ,
Yep, I would expect that to work too. 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
@colin ,
Sorry I have realized after reading the rules I have posted this as a discussion and not a question. I'd like the mods the delete this "discussion". I have posted a new "question" with a test case. Thanks for the help.