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?
Solved! Go to Solution.
Try to use css and id and class names of that elements.
Try to use css and id and class names of that elements.
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.