Posted 14 September 2017, 11:28 am EST
Hi,
I have an example where I am setting grid properties and column definitions from an angular controller; I need to have a custom cell template for one one the grid columns and this also needs to be set from the angular controller when creating the columns (my HTML template part contains only the directive; all the setting and configurations are done in the controller).
I also have an HTML template for the custom checkbox part (‘…directives/templates/gridCellCheck.html’) which is a . How can I set this template to the wijmo column object being created ? I tried using “innerHTML” property in itemFormatter function, but it does not get the HTML from the template file, it returns my file path in the grid column…
I saw the “CellTemplateIntro” sample example, but this sets the “ng-include” property on the flexGridColumn directly on the HTML file; I want to do this on my angular controller file.
Also, what is the best / more optimized method for creating custom cell templates and/or editors with Angular JS ?
Thanks & Regards
Joanne