Angularjs templates and expressions can be used in grid cells by defining the template property of columns in colModel.

The grid compiles the templates and adds new scope ( prototypically inherited from grid scope ) to each row with following model properties:

  • rd reference to the rowData of current row.
  • ri rowIndx of current row which is similar to $index in ng-repeat.

The column specific properties can be accessed in templates by implementing render callback and returning template string from the callback.

Copyright @ 2016-2018 Paramvir Dhindsa (http://paramquery.com)