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


Similar Posts:


Flex :: ButtonMode And UseHandCursor Property In DataGrid Doesn't Work?

Oct 28, 2010

If I set the properties of "buttonMode" and "useHandCursor" to true in DataGrid, it does not work as I expect. Only if I move the cursor to the edge between two rows, the hand cursor displayes.

What I expect is that no matter where the cursor is moved, it should always show hand cursor.

The following the itemRenderer:

<?xml version="1.0" encoding="utf-8"?>
<mx:Label
xmlns:mx="http://www.adobe.com/2006/mxml"

[Code]....

View 3 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

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

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

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 :: 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

Flex :: ItemRenderer Doesn't Resize With DataGrid Column

Mar 7, 2012

I have an item renderer tied to an mx:DataGrid column. The renderer used to be inline with the column, but I've moved it out to its own file so I can reuse it across multiple tables.

The problem is that now the renderer doesn't resize (grow/shrink) when the column is resized. So if the user makes the column very small, the contents displayed by the renderer just eat up space and show up over top other columns

Code for Item Renderer:

<?xml version="1.0" encoding="utf-8"?>
<s:MXDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 1 Replies

Php :: Does Flex 3 Datagrid Paging Work

Dec 12, 2009

How does paging work, must Flex load in all the database records to determine how many pages to generate? Let's say I have a table with 10,000+ records and want to split it into pages of 10 records per page into a datagrid component. Does Flex load in the complete 10,000+ records, or just some of them? I would like to use PHP and AMF on the backend.

View 2 Replies

Flex :: Datagrid - Filter XMLListCollection Even If Test Node Doesn't Exist?

Apr 28, 2011

I want to show some data from an xml file inside a datagrid, so I do this:

<mx:AdvancedDataGrid id="dgDomains" dataProvider="{new XMLListCollection(xmlDomains..domain(deleted.toString() != '1'))}"
...

[code].....

View 1 Replies

ActionScript 3.0 :: Flex Doesn't Work The Way It Should?

Jan 28, 2010

I have 3 files. 2 actionscript files and a html file.I want the image to show up at the 0 X coordinate.It shows up at a non-zero position in the browser (firefox 3.*) after I compile everything with flex SDK and run the html file. BUG with flex? The embedded png image is 1019 pixels wide.

package
{
// first file.
import flash.display.Sprite;[code].....

View 2 Replies

Flex :: Group Flat Data In Advanced Datagrid Won't Work

May 17, 2010

i've got an ArrayCollection which is properly displayed in this Advanced Datagrid:

[Code]...

View 2 Replies

Binding - Flex ChangeWatcher Doesn't Work?

Jul 9, 2010

I'm trying to implement a binding between some custom-built models and just beginning to dabble with the whole mx.binding.* collection. I tried this simple, stripped down example, but can't get the binding working correctly. Can somebody tell me where I'm going wrong?

[Code]...

View 3 Replies

Flex :: DropDownList Doesn't Work In New Window

Oct 29, 2010

In this code I'm creating a new window when I click the button. In the new window are TextInput and DropDownList components. When the new window opens, clicking the DropDownList does nothing - you have to click it a second time round to get it to open. However, click into the TextInput field first and then try opening the DropDownList works no problem.

Below is the code, or download the FXP file here.

// DropDownTest.mxml (application)
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

View 1 Replies

Flex - Httpservice Doesn't Work On Localhost?

Nov 7, 2010

I am making a very simple httpservice request w/ a php file that is on my remote server:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:halo="library://ns.adobe.com/flex/halo"
>

[Code]...

When I run the resultant flash file on my remote server, it works 100% and test.text gets populated to "successful". However, when I run it on localhost test.text is still blank. If I check my network monitor in Flex, the httpservice was successful, so crossdomain.xml seems to be set right ...what am I doing wrong? I've been spinning my wheels for some time w/out a clue.

View 1 Replies

Flex :: Why Flash Firebug Doesn't Work

Nov 12, 2010

Why Flash Firebug doesn't work with flex 4.5?

UPDATE:

I have Flex 4.5 and in the main application, in the script tag I write:

import ominds.Firebug;

I use flash player WIN 10,1,85,3 Debug enabled. I export swf as 10.1.85 version.

And when I open the flashFirebug I get this: "No SWF files with the O-Minds package found, you should import the O-Minds package into your flash files. For more information visit: o-minds.com/products/flashfirebug"

View 3 Replies

Flex :: Image SmoothBitmapContent Doesn't Work?

May 10, 2011

recently I got a jagged image problem when scaling. I set my image components smoothBitmapContent true, and it works properly the first time, but if I reset the source, the images return jagged. It seems like the smoothBitmapContent property has been changed to false, but it doesn't work even if I set it to true in run time.Here's is my code:

<custom1:SmoothImage id="MJCard_3_36" x="286.5" y="56.65" scaleX="0.66" scaleY="0.83" smoothBitmapContent="true"/>
MJCard_3_36.source = seabedPicArr[index1-1][index2-1][index3-1];

I simply use a custom Image-extended class and switch smoothBitmapContent on, and I set the image's source in run time.

View 1 Replies

Flex :: RichText Doesn't Work With Bullets?

Jul 25, 2011

See the simple application created below. I have a RichTextEditor and a RichText component.The idea is to display whatever typed in the RichTextEditor in the RichText component. Everything else (I think) works except for Bullets! The conversion works as if bullets doesn't exists!

<?xml version="1.0" encoding="utf-8"?>
<s:Application width="100%"
height="100%"

[code]......

View 1 Replies

Flex :: TextArea Scroll Down Doesn't Work

Sep 1, 2011

I have a TextArea that shows the conversation from selected chat room. For valueCommit event I use: verticalScrollPosition = maxVerticalScrollPosition; And it works fine scrolling text to the bottom. However in one case it doesn't work as expected. There's verylittle text, so TextArea has no scrollbar and then I put a lot of text and a scrollbar is necessary. The text is scrolled almost to the bottom (still a few lines need to be scrolled down). I am pretty sure it gets maxVerticalScrollPosition as if there was no scrollbar. So the question is how can I wait with updating verticalScrollPosition with respect to TextArea's new size (that is now with a scrollbar). I tried calling validateSize and other methods that start with 'validate' but unfortunately with no luck. I also tried the old trick of putting caret at the end of text. So the TextArea's scrollbar makes a difference when getting maxVerticalScrollPosition and I need to update verticalScrollPosition once all measurements are done. I forgot to mention. I use htmlText.

View 2 Replies

Asp.net - C# WebServices And Flex RPC Session Doesn't Work?

Oct 10, 2011

look im facing a problem. I have .NET + Flex application. I have a component in Flex who uploads a .XLS file to the server. This component has a Progress Barand it updates its bar and the Label with the

[Code]...

View 1 Replies

ActionScript 3.0 :: DataGrid Component Scrollbar Doesn't Work

Dec 12, 2009

Trouble with my DataGrid component (aDg), i want to tell it to got a fixed height, and then have a scrollbar when the lines into the Datagrid are biger than its height, but with this code, it doesn't work, the grid continues to get bigger without scrollbar :

[Code]...

View 1 Replies







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