Hi community,
I read the article (https://community.creatio.com/questions/add-action-detail) in Creatio community and added a button in the action menu of our order product detail.
But the visibility seems not working. May you help me to adjust the code below? What I
need is to show the button when some detail records are selected, and hide the button otherwise.
addToolsButtonMenuItems: function(toolsButtonMenu) {
this.callParent(arguments);
toolsButtonMenu.addItem(this.getButtonMenuSeparator());
toolsButtonMenu.addItem(this.getButtonMenuItem({
Caption: this.get("Resources.Strings.UsrBtnBatchUpdate"),
Click: {"bindTo": "OnButonClick"},
Visible: {"bindTo": "IsSelectRecord"}
}));
},
Thanks a lot!