4 Answers, 1 is accepted
I tried to replicate the described behavior, however, I was not able to. Please check out the dojo below that I used for testing and let me know if I am missing something.
It would be great if you can modify the sample in a way that the issue is replicated and send it back. This will enable us to examine the behavior and look for its cause.
SO the issue is mostly my fault: The "groupHeaderTemplate" template is malformed (i.e. the '#' is not properly escaped). I can fix the issue easily just be properly escaping it "##", but still no error was given that it was malformed. Can the code be updated to throw an error or somehow alert the user that the template is bad and needs to be fixed?
When using hash literals inside a template they must be escaped in order to avoid errors. If the characters are not escaped an "Invalid template" exception will be thrown.
Make sure that the header template is defined like below and it would work as expected.
For reference I also updated the dojo sample. Check it out below and let me know how it works for you.