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
Hello Mohammad,
Please, try to set up the title for the button by using the code:
"caption": resources.localizableStrings.DetailsCaption
Let us know in case any additional information is required.
Best regards,
Olga.
Hello Mohammad,
Please, try to set up the title for the button by using the code:
"caption": resources.localizableStrings.DetailsCaption
Let us know in case any additional information is required.
Best regards,
Olga.
Olga Avis,
Thank you so much. It worked perfectly