I've worked a lot with the EXTJS grid, and one of the things I've come to love is the “renderer” functionality for a cell. This provides an easy way to do custom cell formatting. Basically, in the columnmodel, you specify a renderer. this is a javascript function that you write.
the grid, when it sees a custom renderer is attached, passes the contents of the grid through the renderer function, passing in the cell value, the json object for that entire row, and some other stuff.
in this way, you can do dollar formatting, turn 1/0 into yes/no, and all kinds of other goodness.
Does jqGrid have this kind of custom cell formatting functionality?
thanks.
Marc
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top