Hello.
Question: Is it not possible to add Virtual Detail in Modal?
I tried to add a Virtual detail in a Modal, but it do not shows Detail.
In Contact Page I have Virtual Detail and after clicking in row I open Modal where I added Virtual Detail but it do not shows and there are no errors also in Console.
This is A Modal after clicking in row and its empty.
Code For Modal:
define("UsrCreateVirtualFinancialAccountsModalPage", ["ModalBox", "css!UsrCustomStylesCss"], function(ModalBox, UsrCustomStylesCss) {
return {
attributes: {
},
messages: {
"DataFromModal": {
mode: Terrasoft.MessageMode.PTP,
direction: Terrasoft.MessageDirectionType.BIDIRECTIONAL
}
},
methods:{
init: function(callback, scope) {
this.callParent(arguments);
console.log('test')
},
},
details: /**SCHEMA_DETAILS*/{
"UsrFinancialAccountsVirtualDetail": {
"schemaName": "UsrFinancialAccountsVirtualDetail"
},
},
diff: [
{
"operation": "insert",
"name": "MyContainer",
"propertyName": "items",
"values": {
"itemType": Terrasoft.ViewItemType.CONTAINER,
"items": []
}
},
{
"operation": "insert",
"name": "MyGridContainer",
"parentName": "MyContainer",
"propertyName": "items",
"values": {
"itemType": Terrasoft.ViewItemType.GRID_LAYOUT,
"items": []
}
},
{
"operation": "insert",
"name": "UsrFinancialAccountsVirtualDetail",
"values": {
"itemType": 2,
"markerValue": "added-detail"
},
"layout": {
"column": 0,
"colSpan": 25,
"row": 5,
"rowSpan": 5
},
"parentName": "MyGridContainer",
"propertyName": "items",
"index": 1
},
]
};
});