I tried to add 2 buttons inside each row in the detail grid , but it didn't work , can anyone help me with sample code please
Like
9 comments
11:09 Aug 14, 2018
Dear mohamad,
Where exactly do you want to add buttons and what have you already done?
11:21 Aug 14, 2018
Peter Vdovukhin,
Inside the row of the detail grid when , onActiveRowAction when row is active I want to show 2 buttons
11:59 Aug 14, 2018
Like in the picture there is one button , I want to add 2 buttons along with each other
17:35 Aug 14, 2018
Dear mohamad,
Here is a similar question. Just follow an existing example in the configuration.
13:35 Aug 27, 2018
diff: /**SCHEMA_DIFF*/[
{
"operation": "insert",
"name": "ButtonCopy",
"parentName": "Detail",
"propertyName": "tools",
"values": {
"itemType": Terrasoft.ViewItemType.BUTTON,
"click": {"bindTo": "onButton1Click"},
"visible": true,
"enabled": true,
"style": Terrasoft.controls.ButtonEnums.style.TRANSPARENT,
"caption": "Button1"
}
},
{
"operation": "insert",
"name": "ButtonMark",
"parentName": "Detail",
"propertyName": "tools",
"values": {
"itemType": Terrasoft.ViewItemType.BUTTON,
"click": {"bindTo": "onButton2Click"},
"visible": true,
"enabled": true,
"style": Terrasoft.controls.ButtonEnums.style.TRANSPARENT,
"caption": "Button2"
}
}
Show all comments
