Hi,
I added a Check Menu Item on the Actions menu to one of my sections and it works fine, but I have not been able to set the Checked default value base of an attribute set on the init function.
This is what I have:
actionMenuItems.addItem(this.getButtonMenuItem({
"Type": "Terrasoft.controls.CheckMenuItem",
"Caption": { bindTo: "Resources.Strings.OpenImagesAutomaticallyFromInitialEntryCaption" },
"Click": { bindTo: "setOpenImagesAutomaticallyFromInitialEntry" },
"Checked": { bindTo: "OpenImagesAutomaticallyFromInitialEntrySetting" }
}));
but when I go to the menu item, the menu is always unchecked regardless of the value of the boolean attribute OpenImagesAutomaticallyFromInitialEntrySetting.
Any help on how to accomplish that would be greatly appreciated.
Thanks,
Jose