Hello Isomorphic,
I am trying to create a "multiple selectable Menu" in my application.
I am facing few issues with it.
1) As many times i open menu with menu button the data source field keep on appending to menu list. Where as it should be only single set of values (see attached image)
2) I keep seeing "Empty Submenu" selection. I want to just set it at level 1 and not multi level submenu.
3) Also i can see attributes like shadowDepth, and showShadow in example but not available in documentation?
Any pointers?
Menu / Menu button definitions
I am trying to create a "multiple selectable Menu" in my application.
I am facing few issues with it.
1) As many times i open menu with menu button the data source field keep on appending to menu list. Where as it should be only single set of values (see attached image)
2) I keep seeing "Empty Submenu" selection. I want to just set it at level 1 and not multi level submenu.
3) Also i can see attributes like shadowDepth, and showShadow in example but not available in documentation?
Any pointers?
Menu / Menu button definitions
Code:
isc.Menu.create({ ID: "cooponSelectDropDownMenu", autoDraw: false, showShadow: true, //shadowDepth: 10, dataSource:"couponTypeDS", selectionType: "multiple", showSubmenus : false, itemClick:function(item){ //alert('Item cliecked'); item.checked = true; }, cellClick: function(record, rowNum, colNum) { //alert('Cell cliecked'); if (record.checked) { record.checked = false; } else { record.checked = true; } } }); isc.MenuButton.create({ ID: "cooponSelectMenuButton", title: "File", width: 100, menu: cooponSelectDropDownMenu });
Comment