<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tree Grid View (TGV): How I can render a cell as an icon/image?</title><link>https://www.aras.com/community/f/development/5565/tree-grid-view-tgv-how-i-can-render-a-cell-as-an-icon-image</link><description>Hello, 
 I have a question regarding the TreeGridview. 
 We need to set different row icons on a TreeGridView based on a ItemType property called kind of &amp;quot;xx_type&amp;quot;. 
 
 We already have a TreeGridview that uses the ItemType icons but they are too generic</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Tree Grid View (TGV): How I can render a cell as an icon/image?</title><link>https://www.aras.com/community/thread/2439?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 10:40:21 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e9356290-76be-44a5-a43b-4d4dca28aa12</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Did you make an extra column or did you overwrite the standard ItemType indicators? In my few quick tests I&amp;nbsp;only used static codetree images. The Method rb_DefaultColumnBuilderMethod is used for the rendering, maybe&amp;nbsp;this one is a good start for further investigations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tree Grid View (TGV): How I can render a cell as an icon/image?</title><link>https://www.aras.com/community/thread/2438?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 10:10:48 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2fb17cc4-fe8f-4cc3-8bee-79e974280e1f</guid><dc:creator>Meismart</dc:creator><description>&lt;p&gt;Thank you, I was unaware you could use an image property on the item as the Icon in tree grid.&amp;nbsp; I have managed to get somewhere close by creating an image column which&amp;nbsp;can then be&amp;nbsp;used as the icon which I populate in&amp;nbsp;advance of running the query.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you create the image dynamically at run time? I.e. if you don&amp;#39;t know the property until the query is run. Such as a Part BOM, where you don&amp;#39;t know if a part is a parent or a child until the context item is passed to the query.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tree Grid View (TGV): How I can render a cell as an icon/image?</title><link>https://www.aras.com/community/thread/2435?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 09:21:21 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:82218df9-381a-4858-8f22-fb1050974f09</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Adding a second image column is theoretically possible but not easy to do. You&amp;nbsp;would have to duplicate the item indicatior column.&lt;/p&gt;
&lt;p&gt;Another approach may be the modification of the column mapping in the Column definition. By default, it&amp;acute;s set to a static icon. But you could manually change it to a property that contains the new icon:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1547803389033v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tree Grid View (TGV): How I can render a cell as an icon/image?</title><link>https://www.aras.com/community/thread/2432?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 08:53:51 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b4b2f4be-ec3c-4854-a14c-4cea3faae300</guid><dc:creator>Meismart</dc:creator><description>&lt;p&gt;Are you able to add the same&amp;nbsp;Item to the tree multiple times (once for each &amp;quot;xx_type&amp;quot;), using a property filter and a custom&amp;nbsp;Icon?&lt;/p&gt;
&lt;p&gt;It may not be elegant, but could give you the result you are trying to achieve.&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;br /&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>