Flex :: Customize The Sorting In Datagrid?

Jul 2, 2009

I have a column with 4 fields named : a> Main, b> Forward c> Back d> Link, if I use pre-defined sorting of datagrid with the column names which will be alphabetically, then the order is c>Back b>Forward d> Link a> Main. But, I do not want to sort based on the alphabets. I prefer to sort by names of the column fields. i.e. somehow give priority to each individual column field names. Like pre-define my own order.

View 2 Replies


Similar Posts:


Flex :: Customize Datagrid To Show Connectivity Between Tasks

May 18, 2010

I have made a program in Flex for creating simple schedules, similar to MS Project or Vico Control. I have one problem that I would like to solve. (You can see it here: OnTime Project Scheduling tool made in Flex

The tasks of the schedule are represented as Gantt Chart, for which I created a itemRenderer inside one of the rows in the DataGrid. The tasks are shown as gantt diagrams, but I would also like to show the connectivity between tasks.

take a look at the image below, to see what I am trying to accomplish here: (above is the image of how datagrid looks now, and below is the thing I would like to add)

how I could do this inside DataGrid's item renderer?

View 1 Replies

Flex In DataGrid Default Sorting?

Dec 12, 2009

I have a datagrid with data like this:

[Code]...

View 1 Replies

Flex :: Sorting In Advanced Datagrid?

Jan 18, 2010

I have a Advanced Datagrid with sorting. I think it is string sorting by default. But i need the sorting in number. How can i achieve the number sorting.for example: i have row numbers like 1 to 100 . i need number sorting like 1,10,100.

View 2 Replies

Actionscript :: Sorting Columns In A Flex Datagrid

Oct 14, 2011

The datagrid gets its data from a back end database which has records like

[Code]....

I get errors like 1061: Call to a possibly undefined method refresh through a reference with static type mx.controls:DataGrid. for myRecords.refresh(); and Access of possibly undefined property sort through a reference with static type mx.controls:DataGrid. for myRecords.sort

View 1 Replies

Flex :: Datagrid - Flex AdavcedDatagrid Sorting Is Case-sensitive

Jul 27, 2010

I have several datagrids with changing columns. For the text fields the datagrid's sort function neems to be making a case sensitive compare. eg. the following list sorted would look like this apples strawberries Autos Autos should be with apples but since the capital A is counted differently all capital letters come after. I've found a lot of information on setting a CASEINSENSITIVE flag, but I can't figure out where to do this. The best solution would be one where I can override the default behavior to be case insensitive for all my datagrids and all my compare functions.

View 3 Replies

Actionscript 3 :: Sorting Function Not Called In Flex Datagrid?

Oct 11, 2009

I am creating a Datagrid in AS3, and adding a sort function to a column. However, this sort function does never get called. Any ideas?

dg_gruppenUebersicht = new NestedDataGrid;
dg_gruppenUebersicht.sortableColumns = true;
dg_gruppenUebersicht.dataProvider = arrCol_gruppenTnAkt;

[code]....

View 1 Replies

Flex Advance Datagrid Date Column Sorting?

Feb 1, 2010

I'm trying to sort ArrayCollection with following dates, and getting unexpected results.

14-Apr-1980
01-Feb-1975
30-Dec-1977
27-Oct-1968

[Code]...

View 1 Replies

Actionscript - Sorting Advance Datagrid Columns In Flex?

May 3, 2010

For example : Having four columns in advance datagrid like company,contact_person,product and date. In this, first i want to sort by product followed by company and followed by date.

View 1 Replies

Flex :: Flash - Sorting A Datagrid Column By The Row's Label

Aug 18, 2010

I'm creating a table that displays information from a MySQL database, I'm using foreignkeys all over the place to cross-reference data.

Basically I have a datagrid with a column named 'system.' The system is an int that represents the id of an object in another table. I've used lableFunction to cross-reference the two and rename the column. But now sorting doesn't work, I understand that you have to create a custom sorting function. I have tried cross-referencing the two tables again, but that takes ~30sec to sort 1200 rows. Now I'm just clueless as to what I should try next.

Is there any way to access the columns field label inside the sort function?

public function order(a:Object,b:Object):int
{
var v1:String = a.sys;

[Code]....

View 2 Replies

Actionscript 3 :: Flex 3 : Sorting Date Column In Datagrid?

Sep 2, 2010

How to sort date column in datagrid with date format of 'DD/MM/YY'.

View 1 Replies

Flex :: Flex S:datagrid Sorting Doesn't Seem To Work?

Feb 18, 2012

I'm using Flashbuilder 4.6 and can't get sorting of columns in my s:DataGrid to work, clicking on the columns does nothing. Can anyone suggest what is wrong?

[Code]...

View 1 Replies

Flex :: Data Binding - Datagrid Sorting Not Preserved Across Dataprovider Changes?

Aug 26, 2009

I have a flex datagrid. it is bound to an array collection. if the user sorts on column X it works fine. then, if the user causes the array collection to change, the datagrid forgets that it was sorted on column X.what do I need to do to preserve this sort preference so that the new array data will appear sorted by column X?

View 4 Replies

Flex :: Actionscript 3 - Disable Automatic Sorting In Editable Datagrid?

Mar 8, 2011

I have an editable datagrid. If sorting is applied by clicking any header of datagrid, it works fine. But after that, if data values are changed in any row of datagrid, sorting is applied automatically. How to prevent from this behaviour? i.e. sorting should only be applied if user clicks on any header of datagrid and sorting should not be applied when user modifies data in grid.

View 1 Replies

Flex :: Sorting - 4.5 Spark Datagrid Multi-column Sort?

May 9, 2011

does anyboy know if Flex 4.5 Spark Datagrid suppoprts multi-column sort natively - just like the ADG does?

View 2 Replies

Flex :: Datagrid Sorting Only On Click Of Specific Part In HeaderRenderer

Jun 21, 2011

I have a custom FilterColumnHeaderRenderer with an HBox, inside a Label for the Column Header, a Textinput for the filter text and Label to clear the filter. Now I want that the column sorting only takes place on clicking the title.Currently the I use the sortCompareFunction on HeaderRelease for the whole columnHeader.[code]

View 2 Replies

ActionScript 3.0 :: Sorting Columns In Datagrid?

Jul 28, 2011

I have a datagrid that uses a custom cellrenderer class to allow me to use a combobox. I have an invisible column that holds the value returned by the cellrenderer when the combobox value is changed. BUT sorting is wonky. Since what really lives in the combobox column individual cells is an object, it never really sorts properly. Is there a way to fire a sorting event to the column that holds the real value?

View 4 Replies

ActionScript 2.0 :: DataGrid Numeric Sorting?

Jun 25, 2010

I have a DataGrid in Flash 8 Professional. I am having trouble sorting numerical data. Here is the code placed on the frame (modified from the tutorial):

[Code]...

View 1 Replies

ActionScript 3.0 :: Datagrid - Default Sorting?

Oct 21, 2010

I'm using Datagrid to display some data out of a DB. The first field is date, I would it default to sorting on this field with it also having the arrow icon ( as if the user has clicked on the column)

View 1 Replies

Data Integration :: Datagrid Sorting On Multiple Columns?

Nov 18, 2008

I have a datagrid with multiple columns. I can click a column header to sort the rows, but I don't know how to sort on two or more rows. For example, last name, age, then racing time.

View 1 Replies

ActionScript 3.0 :: Creating Datagrid With Sorting Options & Filter Function

Jul 20, 2011

function createDatagrid():
//datagrid
var dp:DataProvider = new DataProvider();
//addin the entries

[Code]....
 
The above are my doubts for sorting a datagrid and a filter function for datagrid.

View 14 Replies

Flex :: Customize Sdk Classes?

Oct 31, 2009

I have modifyed XMLEncoder class from Flex SDK (XMLEncoder.as)

After it I run my project but I don't see any changes...

What should I do to realy modify project's behaviour?

View 2 Replies

Flex :: Create A Customize Bar?

Jun 23, 2011

there is a bar like in the following website which i am unable to create the one with blue in color and has a question mark

the Link : customize bar

View 1 Replies

Flex :: Customize The Alert Box With Two Buttons

Apr 2, 2010

I need to customize my alert box with two button and both the button need to have different skins on them. I was able to do it for one skin. But i am unable to figure out about the two skins. My code that i have right now is below:

[Code]...

View 1 Replies

Flex :: Customize Accordion And Panel Look?

Sep 17, 2010

I want to increase the (height) size and change the color of a spark accordion header, similarly I want to change the color of a spark panel header. Can I do this through mxml properties and css or will I need to use a custom skin?

View 1 Replies

Flex :: Customize CircleItemRenderer In Chart?

Apr 10, 2011

<mx:LineSeries form="curve" displayName="BG" yField="Value" xField="DateTime">
<mx:itemRenderer>
<fx:Component>

[code].....

View 1 Replies

Flex :: How To Customize Barchart Datatips

Apr 26, 2011

How can I customize my barchart datatips in flex? The transparent background of them is too dark to see any of the text in them.

View 1 Replies

Flex :: Customize A List In Mobile Application?

Aug 7, 2011

the thing I mean cannot be probably done with the component, but I don't know how is the component I want called. I would like to achieve a list but with sort of "icon look". You could say some sort of springboard navigation.

Here is just a quick sketch in Photoshop how it should look like: [URL]

The item is the one actual item in the list or something.

View 2 Replies

Flex3 - Customize Data Points On A Flex Graph?

Mar 20, 2010

I have an area graph and I'm looking to have the data points to be shown. I have a CircleItemRenderer, but this shows all of the datapoints in the default stroke and fill. 1) How do I customize the display of my CircleItemRenderer? (instead of it having an orange fill, how can I change the color?

2) How can I decide to show the node for specific data points but not for others? For example, in my .XML file that imports the data for the graph, I may have a variable show_data_point which is true or false.

[Code]...

View 1 Replies

Customize Highlighted Data Point Circles In Flex Charts?

Oct 5, 2011

I need to customize a look and feel of standard Flex LineChart with LineSeries. I cannot figure out how to change default circles drawn when the mouse pointer is over a data point.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved