Forum Discussion
Adding a second image column is theoretically possible but not easy to do. You would have to duplicate the item indicatior column.
Another approach may be the modification of the column mapping in the Column definition. By default, it´s set to a static icon. But you could manually change it to a property that contains the new icon:
Thank you, I was unaware you could use an image property on the item as the Icon in tree grid. I have managed to get somewhere close by creating an image column which can then be used as the icon which I populate in advance of running the query.
Can you create the image dynamically at run time? I.e. if you don't know the property until the query is run. Such as a Part BOM, where you don't know if a part is a parent or a child until the context item is passed to the query.
- AngelaIp7 years agoIdeator I
Did you make an extra column or did you overwrite the standard ItemType indicators? In my few quick tests I only used static codetree images. The Method rb_DefaultColumnBuilderMethod is used for the rendering, maybe this one is a good start for further investigations.