Configuring Icons of Nodes in DBTreeView Bean

Hi all,

Can I Configure Icons in the nodes of the DBTreeView Bean?

That mean, can I change Icons in the nodes of the DBTreeView Bean like that in the below image.

Any suggestions are welcome.

elements.bean.bindNodeImageMediaDataProvider(dataproviderName)

is your friend. You have to provide the image in a calculation or data column…

Thanks Patrick,

You Guys are really Great. :D

We all started like you: asking until we know how to do it. It’s just about giving back…

patrick:
We all started like you: asking until we know how to do it. It’s just about giving back…

… Sure :wink: :wink:

Hello

Did anybody find a way to controll the indent of images and text in the DBTreeView bean?

Regards, Robert

patrick:

elements.bean.bindNodeImageMediaDataProvider(dataproviderName)

is your friend. You have to provide the image in a calculation or data column…

You can create a HTML calculation and provide that as display dataprovider. That should allow you to fine tune some settings.

Thanks for the tip, Patrick

Best regards, Robert

patrick:
You can create a HTML calculation and provide that as display dataprovider. That should allow you to fine tune some settings.