Spark list control

Hi........

can you solve this prob

How can spark list display the items in reverse order?

please give me an example.....

Thanks

View Answers

October 29, 2010 at 4:06 PM

Ans:

You can set a Sort on your dataProvider (assuming it implements ICollectionView, like an ArrayCollection for example) and call the Sort.reverse() method.

Thanks









Related Tutorials/Questions & Answers:
Spark list control
Spark list control  Hi........ can you solve this prob How can spark list display the items in reverse order?ADS_TO_REPLACE_1 please give me an example..... Thanks   Ans:ADS_TO_REPLACE_2 You can set a Sort on your
List Control in Flex4
List control in Flex4: Flex 4 List control is also called a Spark List control... item do not fit in the List control then horizontal  and vertical scroller... (<s:dataprovider>) for providing a data to a List control. The tag is <s
Advertisements
List control class
List control class  Hi... What Class does all list base controls extend? and implement? please give me the name of these classes.....ADS_TO_REPLACE_1 Tnanks   Ans: All list based control extend the ListBase class
ItemRenderer in spark list
ItemRenderer in spark list  Hi.. How can I get the Item Renderer that is at the top of the viewport in a Flex Spark List? please tell me about that.....ADS_TO_REPLACE_1 Thanks   Ans: I think it will useful
List Control with Data Provider
List Control with Data Provider       List is the very basic control to the developers. It displays the data as the vertical list of items. It can be used in several conditions since
Not Able to select an Item in Spark Combo Box control (Adobe Flex Object) using QTP
Not Able to select an Item in Spark Combo Box control (Adobe Flex Object) using... Flex controls. But i am not able to select any item from Spark Combo Box. I tied using .Open (Its not opening the drop down list) , also i tried using Select
HorizontalList Control in Flex4
HorizontalList control in Flex4: The HorizontalList control is a MX component. There is no spark component. The HorizontalList control displays the items in horizontal manner. You can display a list of items and images
Version of co.unruly>control dependency
List of Version of co.unruly>control dependency
ProgressBar Control in Flex4
ProgressBar control in Flex4: The ProgressBar Control is a MX component. It has no Spark Component. The ProgressBar Control displays a loading progress... of period. The progress line of Progress Control represent time-based processes
DataGrid Control in Flex4
DataGrid control in Flex4: The DataGrid control is a MX component. There is no spark component. DataGrid Control is like a Table in html. The DataGrid control has following features. 1. You can Re-Size, Sort and customize the column
PieChart Control in Flex4
PieChart control in Flex4: The PieChart Control is a MX Component. There is no Spark component. The PieChart Control is a circular chart in which the wedges represent to the data value. You can provide the data to the chart control
HLOCChart Control in Flex4
HLOCChart  control in Flex4: The HLOCChart Control is a MX Component. There is no Spark component. The HLOCChart Control represents financial data... to the chart control by using data provider property. You will use <mx
Version of com.revelytix>spark dependency
List of Version of com.revelytix>spark dependency
AreaChart Control in Flex4
AreaChart control in Flex4: The AreaChart Control is a MX Component. There is no Spark component. The AreaChart Control represents an area bounded... and areaStroke property. The tag of AreaChart Control is <mx:AreaChart>
BarChart control in Flex4
BarChart control in Flex4: The BarChart Control is a MX Component. There is no Spark component. The BarChart Control represents the data in horizontal bars... clockwise. The tag of BarChart Control is <mx:BarChart>. Example
ColumnChart Control in Flex4
ColumnChart Control in Flex4: The ColumnChart Control is a MX Component. There is no Spark component. The ColumnChart control represents the data... the data to the chart control by using data provider property. You will use <mx
CandleStick Control in Flex4
CandleStick control in Flex4: The CandlestickChart Control is a MX Component. There is no Spark component. The CandlestickChart Control represents... the data to the chart control by using data provider property. You will use
LineChart Control in Flex4
LineChart control in Flex4: The LineChart Control is a MX Component. There is no Spark component. The LineChart Control represents data in a series of line... to the chart control by using data provider property. You will use <mx
PlotChart Control in Flex4
PlotChart control in Flex4: The PlotChart Control is a MX Component. There is no Spark component. The PlotChart Control represents the each data value... x-axis and y-axis. You can provide the data to the chart control by using data
BubbleChart Control in Flex4
BubbleChart control in Flex4: The BubbleChart Control is a MX Component. There is no Spark component. You can provide the data to the chart control... control you will provide the data individually to the series. There are three
DateField control in Flex4
DateField control in flex4: The DateField control is a MX component. It has no Spark component. It has a text field control and a calendar icon on its right side. When a user clicks on this icon then pops up a DateChooser control
How to access the "Add/Remove Programs" list in Control Panel using Java Program? - Java Beginners
How to access the "Add/Remove Programs" list in Control Panel using Java... Programs list in the Control Panel. I don't know, how can i access it? Kindly give me.../control_panel.html
Version of com.alpinenow>plugin-spark dependency
List of Version of com.alpinenow>plugin-spark dependency
Version of com.alta189>auto-spark dependency
List of Version of com.alta189>auto-spark dependency
Version of com.appsflyer>spark-bigquery_2.10 dependency
List of Version of com.appsflyer>spark-bigquery_2.10 dependency
Version of com.appsflyer>spark-bigquery_2.11 dependency
List of Version of com.appsflyer>spark-bigquery_2.11 dependency
Version of com.bizo>spark-plug_2.10 dependency
List of Version of com.bizo>spark-plug_2.10 dependency
Version of com.bizo>spark-plug_2.11 dependency
List of Version of com.bizo>spark-plug_2.11 dependency
Version of com.crealytics>spark-excel_2.10 dependency
List of Version of com.crealytics>spark-excel_2.10 dependency
Version of com.crealytics>spark-excel_2.11 dependency
List of Version of com.crealytics>spark-excel_2.11 dependency
Version of com.databricks>spark-avro_2.10 dependency
List of Version of com.databricks>spark-avro_2.10 dependency
Version of com.databricks>spark-avro_2.11 dependency
List of Version of com.databricks>spark-avro_2.11 dependency
Version of com.databricks>spark-csv_2.10 dependency
List of Version of com.databricks>spark-csv_2.10 dependency
Version of com.databricks>spark-csv_2.11 dependency
List of Version of com.databricks>spark-csv_2.11 dependency
Version of com.databricks>spark-redshift_2.10 dependency
List of Version of com.databricks>spark-redshift_2.10 dependency
Version of com.databricks>spark-redshift_2.11 dependency
List of Version of com.databricks>spark-redshift_2.11 dependency
Version of com.databricks>spark-xml_2.10 dependency
List of Version of com.databricks>spark-xml_2.10 dependency
Version of com.databricks>spark-xml_2.11 dependency
List of Version of com.databricks>spark-xml_2.11 dependency
Version of com.despegar>spark-test dependency
List of Version of com.despegar>spark-test dependency
Version of com.hazelcast>hazelcast-spark dependency
List of Version of com.hazelcast>hazelcast-spark dependency
Version of com.holdenkarau>spark-validator_2.10 dependency
List of Version of com.holdenkarau>spark-validator_2.10 dependency
Version of com.invincea>spark-hash dependency
List of Version of com.invincea>spark-hash dependency
Version of com.knockdata>spark-highcharts dependency
List of Version of com.knockdata>spark-highcharts dependency
Version of com.magicsoho>spark-jq_2.11 dependency
List of Version of com.magicsoho>spark-jq_2.11 dependency
Version of com.magicsoho>spark-jq_2.10 dependency
List of Version of com.magicsoho>spark-jq_2.10 dependency
Version of com.qmetric>spark-authentication dependency
List of Version of com.qmetric>spark-authentication dependency
Version of com.sequoiadb>spark-sequoiadb dependency
List of Version of com.sequoiadb>spark-sequoiadb dependency
Version of com.sitewhere>sitewhere-spark dependency
List of Version of com.sitewhere>sitewhere-spark dependency
Version of com.sparklinedata>spark-datetime_2.10 dependency
List of Version of com.sparklinedata>spark-datetime_2.10 dependency
Version of com.sparklinedata>spark-datetime_2.11 dependency
List of Version of com.sparklinedata>spark-datetime_2.11 dependency