Hello,
I would like to apply a template on a column of an editable hierarchical grid.
To do this I use the template property of the column and write a conditionnal template.
My template depends on other colonne so I tested it ad describe in your template engine documentation.
My problem appears when I want to test a boolean column that have the template property set. The get value in the template is not the boolean but a string containing the default checkbox template.
Is there a way to get the value instead of this string ?
I hosted a sample to show you how I did it : http://sdrv.ms/1b0JtSO.
Regards.
Hello Cosoluce_Stones,
In this scenario, in order to ensure that the value of the cell is returned rather than the rendered html (when self invoking), therenderCheckboxesoption of the child layout should be disabled. As templating is used in this scenario, rendering the checkboxes in the bool columns is not necessary beforehand. Attached is you modified sample illustrating this.
Hope this helps. Please do not hesitate to contact me with any questions.
Hello Petar,
Thanks for your response, it works, but with the renderCheckboxes property set to false, the editor is no longer a checkbox but a combobox with true and false.
Is there a way to get back the checkbox in editing ?
regards.