Datatable #token# problem

Hello i have a problem with this code:

http://webix.com/snippet/9d1b5b1a

in line:
id=‘ViewCatalog’ onclick=‘ViewCatalog(#fileName#);’

give me this error Uncaught SyntaxError: Unexpected token ILLEGAL
only in this line.
if i change onclick=‘ViewCatalog(#fileName#);’ to onclick=‘ViewCatalog(#name#);’ for example it work’s
in #fileName# there is a text “prova.pdf”
Help pls
Thanks

Hello,

you missed quotes for string value:

... onclick='ViewCatalog(\"#fileName#\");' ...