How to get checkbox values from a column

How to get checkbox values from a column

cdops99cdops99 Posts: 1Questions: 1Answers: 0

I have a group of checkboxes outside of datatables that I am using to filter rows on. Some of the row values I need to filter on are readonly checkboxes from the database. I have no trouble filtering if there is actual data in the datatable (aData[4] = 'Monday' or 'Tuesday', etc). But if its a checkbox value, I cannot retrieve it by looking into the column. Please help!

switch ($object) {
case 'Monday':
case 'Tuesday':
case 'Wednesday':
case 'Thursday':
case 'Friday':
case 'Saturday':
case 'Sunday':
$value = $object;
$column = aData[4];
break;
case 'Disabled':
$value = true;
$column = aData[17] // unable to get the value of checked or not checked;

This discussion has been closed.