Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
Template processing on row expansion
posted

I have a column with a conditional Template, which changes the value of the column cell if one of the OTHER values in the row equals true/false. It looks a bit like this:

{{if ${IsValueWithheld} == true}} <span class='waiting-auth-label'>Waiting for authorisation</span> {{else}} ${Value} {{/if}}

Upon the *first* expansion, Chrome logs an error to the console, saying:

Uncaught Error: An error has occurred while trying to retrieve data source property: ${IsValueWithheld}

A second click of the row expansion button expands the row as expected, showing the child records. However it leaves the ajax loading spinner running at the bottom of the grid.

Chrome/Firefox fault, IE10 doesn't care about this, it overlooks the error and just expands it. Firefox actually shows two ajax loading animations, and removes the +- glyph until the second click.

Haha beginning to regret "doing the website" now :P

Any ideas? Thanks, Tom

Parents Reply Children
No Data