-
Notifications
You must be signed in to change notification settings - Fork 2
HowTo Add Button To GroupField
Kyryl Krylov, CPA edited this page Apr 8, 2020
·
2 revisions
{
"operation": "insert",
"parentName": " ResultControlGroup",
"name": "TestButton",
"propertyName": "tools",
"values": {
itemType: this.Terrasoft.ViewItemType.BUTTON,
caption: "111",
click: {bindTo: "zzz"},
visible: true,
}
},
OR
{
"operation": "insert",
"parentName": "GeneralInfoTab",
"name": "ResultControlGroup",
"propertyName": "items",
"values": {
"itemType": Terrasoft.ViewItemType.CONTROL_GROUP,
"caption": {"bindTo": "Resources.Strings.ResultControlGroupCaption"},
"items": [],
"tools": [
{
itemType: this.Terrasoft.ViewItemType.BUTTON,
caption: "111",
click: {bindTo: "zzz"},
visible: true,
tag: "onUnsubscribeChannelClick"
}
]
}
},