Count Item in ComboBox Plugin

  • Hi,
    Is there any possibility to count the items in combobox plugin. What i required is that if there is only one item in combobox I want to remove that plugin in xml load complete.
    something like this

    <events onxmlcomplete="if(plugin[SwitchCombo].RowCount()==1,removeplugin(SwitchCombo));" onpreviewcomplete="" onloadcomplete="action(fullscreen);" onenterfullscreen="action(enterfullscreen);" onexitfullscreen="action(exitfullscreen);" />

    <plugin name="SwitchCombo" url="plugins/combobox.swf" alturl="plugins/combobox.js" keep="false" align="lefttop" width="100" x="0" y="0" onloaded="action(AddFloor);" />
    <action name="AddFloor"> removeall();additem(pano-01,'');</action>

    Thanks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!