How do I update only selected columns in datatable for a given row.
How do I update only selected columns in datatable for a given row.
integral_dev
Posts: 5Questions: 0Answers: 0
Hi, I am using jquery datatable version 1.7.5.
I have table with 5 columns with one column being input button. First time, I add the button and then subsequently I want to update rest of the 4 columns but only change attribute of button to enable or disable based on certain events.
I tried using fnUpdate - but it forces me to add all 5 cloumns and I get the error An array passed to fnUpdate must have the same number of columns as the table in question.
Can you suggest me any other alternative - I tried to use selector on input button - but on that .html() returns me empty string. That way I could have passed all 5 columns in fnUpdate function.
Thanks so much, Integral developer.
I have table with 5 columns with one column being input button. First time, I add the button and then subsequently I want to update rest of the 4 columns but only change attribute of button to enable or disable based on certain events.
I tried using fnUpdate - but it forces me to add all 5 cloumns and I get the error An array passed to fnUpdate must have the same number of columns as the table in question.
Can you suggest me any other alternative - I tried to use selector on input button - but on that .html() returns me empty string. That way I could have passed all 5 columns in fnUpdate function.
Thanks so much, Integral developer.
This discussion has been closed.