variable in $$

hello,

var variable = “myColumn”;

$$(variable).clearAll();

doesn’t work whereas $$(“myColumn”).clearAll(); works good. why ?

I have this error : " $$(…).clearAll is not a function"

Above lines must work equally well.

" $$(…).clearAll is not a function"

It means that command was not able to locate the view by its ID. Most probably there is still some difference in strings.