I want to create a custom formatter for which the format of the cell is based on another cell in the same row.
For example, don't show a checkbox unless there is a certain name in another column. Or create a “mailto” link on a name where a different column is used for the subject value.
In my formatter, I try to use getCell or getRowData to look at another column's data, passing in options.rowid and the appropriate column name. But it always returns “undefined” or “false”. Making the same call after the grid is loaded returns the correct value. So I'm guessing that that the grid data isn't available while the grid is being built.
So how can my formatter access
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top