Add an Action Button based on column value

Add an Action Button based on column value

isaac2k2isaac2k2 Posts: 2Questions: 2Answers: 0

Hi

I have a text file that contains data in json format. The datas are displayed in the table (http://live.datatables.net/zuhojida/1/edit). Its got 3 columns, Alert, Ack, and Action.

I want to know if dataTable can first check the value in the Ack column and if value is = 0 (this means that the alert has not yet been acknowledged), then it should display a button one can click on to acknowledge the alert. That button will change the value from 0 to 1.

How can one achieve this

Thanks

This discussion has been closed.