Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 240675

Re: Displaying icon along with name in DataGrid in related objects of web client plugin

$
0
0

hi,

i also have similar kind of requirement .

My Requirement:-

i want to modify the value of the DataGrid column  in related objectsTab and for that i used the follwing steps:-

 

1.)    Create the Itemrenderer class and override the method

 

<lists:ColumnContainer uid="com.abc.backup.column.creationTime">
            <lists:dataInfo>
                <lists:ColumnDataSourceInfo requestedProperties="{['creationTime']}"/>
            </lists:dataInfo>
            <lists:component>
                <mx:AdvancedDataGridColumn
                    headerText="{getString('creationTime')}"
                    dataField="creationTime" itemRenderer="com.util.itemrender.DateFormate_Itemrender" />
            </lists:component>
        </lists:ColumnContainer>

 

In my DateFormate_Itemrender  ItemRenderer class i used the follwing code:-

override public function set data(passedObj:Object):void
             {
                
                 Alert.show("valueof date::-"+passedObj);
                
             }

Alert.JPG

 

 

but i am not able to retrieve the value of passedObj  as it’s value is displaying as

“Object DynamicData” so further  not able to any operation on it.

 

 

can u please suggest me  how can I fetch the value of current datagrid item and modify it or perform some operation on it.?  Or there is some other option to perform operation on eachdataGrid item as there is custome data grid widget in webclient that we need to extend.?

 

Message was edited by: added the screen shot of alert message


Viewing all articles
Browse latest Browse all 240675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>