Cell background color in fnAddData()
Cell background color in fnAddData()
![conversoid](https://secure.gravatar.com/avatar/53c3c1128aab9f2e3c8618ba3ddfaf40/?default=https%3A%2F%2Fvanillicon.com%2F53c3c1128aab9f2e3c8618ba3ddfaf40_200.png&rating=g&size=120)
Hi everybody,
First of all, I know there are a lot of discussions in this matter, but I can't find any specific answer to my question :(
I need to add specific colors to specific cells that don't need any kind of previous validation, and it would be a lot easier if I could set the colors while adding the data directly in the fnAddData() method.
Is it possible?
Pleeeeasssee i hope so!
Thanks
First of all, I know there are a lot of discussions in this matter, but I can't find any specific answer to my question :(
I need to add specific colors to specific cells that don't need any kind of previous validation, and it would be a lot easier if I could set the colors while adding the data directly in the fnAddData() method.
Is it possible?
Pleeeeasssee i hope so!
Thanks
This discussion has been closed.
Replies
[code]
1
[/code]
But if you want to change the cell background you need to use fnCreatedCell / fnCreatedRow or fnRowCallback .
Allan
Thanks for the help!