+ Добавить пост
getActions: function () { var actionMenuItems = this.callParent(arguments); //стандартная кнопка actionMenuItems.addItem(this.getButtonMenuItem({ "Caption": { "bindTo": "Resources.Strings.EarlyTerminationCaption" }, "Tag": "earlyTerminationClick", "Enabled": { "bindTo": "IsEarlyTerminationVisible" } })); actionMenuItems.addItem(this.getButtonMenuItem({ Type: "Terrasoft.MenuSeparator", Caption: "" })); //список с кнопками var skipColumns = Ext.create("Terrasoft.BaseViewModelCollection"); skipColumns.addItem(this.getButtonMenuItem({ Caption: { "bindTo": "Resources.Strings.SkipFillingPhoneNumber" }, Tag: "skipFillingPhoneNumberButtonClick" })); actionMenuItems.addItem(this.getButtonMenuItem({ Caption: { "bindTo": "Resources.Strings.SkipButton" }, Items: skipColumns, "ImageConfig": this.get("Resources.Images.SortIcon"), "Enabled": true })); return actionMenuItems; }
Нравится
Поделиться