Apply Gradient Color to Multiple Columns in the DataTable
Apply Gradient Color to Multiple Columns in the DataTable
NewBee2017
Posts: 4Questions: 3Answers: 0
Is there a way to loop through all the numeric columns in the DataTable, then apply gradient color formatting for each columns?
I have been searching around the internet, but I have not a good solution for that? Thank you.
This discussion has been closed.
Answers
As in you want the gradient to span over multiple cells in the column? I don't think there is a way to do that with CSS. If you want a CSS gradient, you would need to position a
div
behind the table, make the table transparent, and apply the gradient to thediv
.Allan