Column data with multiple values to switch between them

Column data with multiple values to switch between them

goncalolgoncalol Posts: 1Questions: 1Answers: 0

Hi!
First of all, i want to congratulate the work that the owners have done to create this powerful library. Without it i could not solve many of the problems that i faced in my project.
About my question, as the title say i want to associate the data of a column with multiple values so that my radio buttons can change the appearance of the td's with those values.
What i have now:

$('#myTable').Datatable({         
        "aoColumns": [
            { "data": "MAIN", "width":"15%" }
})

That "MAIN" represents a certain value. What i want in this case is to associate another value to that column, for example a "MAIN2" and switch the value of the cells with the onchange function of radiobuttons.
Is this possible?

Thank you!

This discussion has been closed.