I am having JSON string, and want to use key value inside table. But I am unable to fetch value from JSON using propertyToRender inside Cell widget.
The Cell widget does not support a propertyToRender configuration property. You need to add an instance of alfresco/renderers/Property inside the cell, which can then be setup to render a property value.
Thanks Axel for quick reply. I tried your solution in below manner, but it is not working for me.
I have attached the code snippet below, kindly let me know if any changes are required.
widgets: [{
name: "alfresco/lists/views/layouts/Row",
config: {
zebraStriping: true,
widgets: [
{
name: "alfresco/lists/views/layouts/Cell",
config: {
additionalCssClasses: "mediumpad",
widgets:{
name: "alfresco/renderers/Property ",
config: {
propertyToRender: "firstName"
}
}
}
}
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.