This question has been asked in a number of ways, but I don't find the answers to be quite what I am looking for:
“Is there a way to change a cell's properties within a custom formatter?”
What I really want to know, though, is if there is a way to add or access a specific cell's HTML properties at the time the formatter is being run. The issue I have is that I want to change the class attribute of a cell based on it's formatted value, but to draw the row, and then go back and process each cell and their values seems to be redundant and very inefficient.
Is there some way of interacting with the rowObject or a specific cell while in a Custom Formatter (either through setCell or manually) that will allow me to change the HTML result that is written to the DOM for the specific cell it is attached to?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top