You need to sign in to do that
Don't have an account?
Deepu Gupta 29
Want to show a image icon in JSON Attribute
Hi All,
I have urgent req that in my Hierarchy of account and contact i need to add image as a contact icon instead of a color but not sure how to achieve it.Could any suggest for the same.
I have urgent req that in my Hierarchy of account and contact i need to add image as a contact icon instead of a color but not sure how to achieve it.Could any suggest for the same.
for(Contact con : AccountHierarchyServices.getAllContact(acc)){ listItems.add( new JSTreeNode( con.Id, acc.Id, con.Name, new JSTreeNodeState(false, false, false), new JSTreeNodeAAttr(String.valueOf(con.Id) == currentId ? 'font-family:Impact': 'color:green') ) );