03-01-2018 09:58 AM
Hi!
How do I set the style for an item that is part of a widget? For example, I have a Tree widget, but i don't want that folders-icons, so i've tried just to set "display:none;" style for them:
{
name: "alfresco/navigation/PathTree",
config: {
showRoot: true,
rootLabel: "Repository",
rootNode: "/app:company_home/st:sites",
//style:"display:none;",
publishTopic: "ALF_ITEM_SELECTED"
}
}
While rendering my widget converts to html structure, but I can set style only for whole widget div. So i can't hide only icon-item. In browser (in developer tools) I can do that (item "1111" on attached image), but how to do that through model? Is it real?
06-07-2018 05:42 AM
Try to use css and id and class names of that elements.
06-07-2018 05:42 AM
Try to use css and id and class names of that elements.
Explore our Alfresco products with the links below. Use labels to filter content by product module.