Im trying to localize a Button on a grid but it is not working out. Ive tried the following:
{
"operation": "insert",
"name": "DataGridActiveRowSomeButton",
"parentName": "DataGrid",
"propertyName": "activeRowActions",
"values": {
"className": "Terrasoft.Button",
"style": Terrasoft.controls.ButtonEnums.style.GREEN,
"tag": "someButton",
"caption": {"bindTo":"Resources.Strings.DetailsCaption"},
}
},
Notes:
-The DetailsCaption is added in the localizable strings
-The logic works on any other button which is not within the Grid
-When binding the button it is not appearing but when setting caption to "caption":"Details" it is appearing
-Im working on version 12