Setting data-dojo-props on SpiderBasic item (PanelGadget)?
Posted: Sun Nov 06, 2016 3:32 pm
Greetings,
I'd like to have closable tabs (panel items) in panel.
I've found this reference: https://dojotoolkit.org/reference-guide ... ainer.html
I've tried importing dojo.setAttr like this:
However, I get:
There is no function in manual, but SpiderBasic's quickhelp displays its meaning.
Anyway, what would be the proper way to handle that? How would one catch those events in case of closing?
I'd like to have closable tabs (panel items) in panel.
I've found this reference: https://dojotoolkit.org/reference-guide ... ainer.html
I've tried importing dojo.setAttr like this:
Code: Select all
Import ""
SetDOJOAttribute(node.i, name.s, value.s) As "dojo.setAttr"
EndImport
...
SetDOJOAttribute(GadgetItemID(#MyPanel, 1), "closable", "true")
Code: Select all
Uncaught ReferenceError: spider_GadgetItemID is not defined(…)
Anyway, what would be the proper way to handle that? How would one catch those events in case of closing?