I have a complex string in the footer that contains charaters lie " and ( and )
example
mygrid.attachFooter(“Some text in (1)Footer”)
Now the problem is that ( inside the string clashes with “(” of the opening brace of attachFooter
The javascript error is
Expected ‘)’
How can i avoid this ?
The “(” character inside the string must not be the problem, please check that string which you use as parameter of attachFooter has not " or ’ chars ( which can break command ) , and if they exists - they must be correctly escaped.
If problem still occurs for you - please provide exact text of command which cause error