Reputation: 2274
In component.ts
file inside constructor()
or init()
setting custom model like
this.getModel('customModel').setData({
"customColumn": "Column Title",
"customAvailability": "hidden"
});
this.getModel('customModel').refresh(true);
In menifest json, added settings for custom column like
"columns": {
"CustomColumn": {
"header": "{customModel>/customColumn}",
"position": {
"anchor": "DataFieldForAnnotation::FieldGroup::CreatedData",
"placement": "After"
},
"availability": "{customModel>/customAvailability}",
"template": "sap.bdp.anydox.ext.fragment.CustomColumn"
}
}
Table looks good as per screenshot
But when I go to settings and see columns there title is not reflecting from model
Upvotes: 0
Views: 35