Datatable: Custom event on input box in the row

I have text box in one row of the data table. Now requirement is when I add value in text box, I want to change color of all the right side cells on the basis of value in text box.
How to achieve this functionality ?