Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Sort works randomly

$
0
0

Hi,

 

I have tried implementing sort in AdvancedDataGridColumn using sortProperty.

The sorting works fine on some environments randomly. Is there a solution for this?

 

I have a AdvancedDataGridColumn which displays the time. I need to sort the column on the time.The Sorting is done in alphabetical order of date whereas need to sort by the actual date.

Tried implementing the sortProperty .

 

<lists:ColumnContainer uid="com.hds.hnasv2i.backup.column.creationTime">

         <lists:dataInfo>

              <lists:ColumnDataSourceInfo sortProperty="creationTime" requestedProperties="{['creationTime']}"/>

         </lists:dataInfo>

         <lists:component>

         <mx:AdvancedDataGridColumn

              headerText="{getString('creationTime')}"

              dataField="creationTime" width="200"  />

         </lists:component>

    </lists:ColumnContainer>

 

Is there a way to achieve custom sort on date.

 

Thanks,


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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