AnsweredAssumed Answered

aikau styling of elements - descendants of the widget

Question asked by npavlov on Mar 1, 2018
Latest reply on Jun 7, 2018 by npavlov

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?

Attachments

Outcomes