This example sets up dependencies between grid columns by using rowTemplate
option.
rowTemplate
is better than js formulas
in following ways:
getters
and setters
feature of javascript
and so is more robust and has better performance.
In this use case, values in a column are dependent upon corresponding row values in one or more columns.
Result of rowTemplate getters
are treated as normal data of the grid and so they work seamlessly with
sorting, filtering, grouping, treegrid, etc.
Array data can also be used instead of JSON data.
In this example,