Php :: Data For The Columns In Flex?

Jul 13, 2009

<local:CheckBoxDataGrid id="dg"
allowMultipleSelection="true" x="118" y="151" width="557">
<local:columns>
<mx:DataGridColumn dataField="firstName" headerText="Select" width="50" sortable="false" itemRenderer="CheckBoxRenderer" >
</mx:DataGridColumn>

[code]....

I am getting the values as ArrayCollection, but when i bind it to my Datagrid, i am not getting any values.... though the objects returned from PHP are fine.

View 2 Replies


Similar Posts:


Flex :: Save State Of A DataGrid: Visible Columns, Columns Width And Order?

Jan 11, 2010

I want to save remotely (on a database) the state (visible columns, columns width and order) of a Flex3 DataGrid.For width and visibility I can simply save them by accessing each column attribute.. But for the order? Do I have to create the dataGrid dynamically?

View 2 Replies

Flex :: Actionscript 3 - Property Like 'visible Columns' In Advance Data Grid

Mar 26, 2010

I want to some how control the visibility of some columns in my advance data grid. I have a data provider with 115 coumns out of which I want to hide few columns. I know the column index and header field of these columns. Is there some property in Advance data grid where I can specify this directly?

View 1 Replies

Json :: Unable To Encode Flex Grid Data Into JSON On Sorting Columns?

Nov 28, 2011

Created an editable flex grid which exposes a method called getGridData() to javascript. I am using the JSON.encode() method of the [url]....library to convert the grid object's dataProvider into JSON before returning it.

ExternalInterface.addCallback("getGridData", getGridData);
public function getGridData():String
{[code].....

However, when I sort a column in the user interface, the encode method is failing throwing the following error

Property usingCustomCompareFunction not found on mx.collections.SortField and there is no default value.

View 1 Replies

Flex :: Datagrid Data Splitting - Show All Column Values And If Uncheck Columns Has To Show

Jan 23, 2012

In my flex datagird i have a checkbox and a datgrid with seven columns. im populating values in first five column(remaining two column no values) of datgrid by an Arraycollection. now,By clicking the checkbox i want to show all seven column values and if i uncheck five columns has to show... how its possible?? heres my code

[Code]...

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

Data Integration :: Datagrid - Make Columns Match XML Order?

Jul 7, 2006

It seems there are lots of topics close to this, but none with answers. I have attempted to complete the Dinner Menu sample example in Flash 8. I finally got ti to work but the columns do not match the order of the items in the XML document. I cannot find an answer to this problem anywhere on the internet so far.

View 3 Replies

Flex :: Keep The Order Of FLEX Datagrid Columns As Its Dataprovider?

Sep 8, 2009

The flex DataGrid colums are arranged alphabetically by default. I need to order the DataGrid colums as per the order in its dataProvider. The dataprovider is the result of the HTTPService . And the number of columns is not known to us . The number of columns depends on the HTTPService result.

View 1 Replies

Flex :: Use Flex Datagrid Lockedcolumncount For Two Columns?

Mar 21, 2011

How do you use flex datagrid lockedColumnCount for two columns?

For example, I have 5 columns of datagrid columns: A, B, C, D and E. I want the A and E columns to be locked and the remaining columns able to be scrolled horizontally.

View 1 Replies

Flex :: Set Different Columns To Have AlternatingItemColors On DataGridColumns?

Dec 3, 2009

On a DataGrid, setting alternatingItemColors will apply the color scheme to all of the columns of that grid. I'm looking for a way to define different alternating colors for each column.

View 2 Replies

Flex :: Sort Columns In AdvancedDataGrid?

Mar 15, 2011

I'm making an application where I display an AdvanvedDataGrid with one column with dates(in format DD/MM/YYYY) and another with datetimes (in format HH:MM). I'd like to sort dates according with the datetimes as well(just clicking in the header of the column), there is an examplen of the expected behaviour:

02/02/2011 | 10:42
03/02/2011 | 09:45
02/02/2011 | 11:45
03/02/2011 | 11:30

[Code]....

_currentDatosBusqueda is an arraycollection I receive from the Server (with the correct format of dates and datetime).

View 2 Replies

Flex :: Unable To Hide Columns

Mar 24, 2011

What I am trying to do is hide an entire column if the content is all null.

<mx:DataGrid width="100%" dataProvider="{service}" id="dg1">
<mx:columns>
<mx:DataGridColumn headerText="Location Origin" dataField="originLocation" visible="{data.originLocationExists}" />
<mx:DataGridColumn headerText="Location Destination" dataField="destinationLocation" visible="{data.destinationLocationExists}" />

[code]....

In the sample above, sometimes all the data in the "Location Origin" will be null, so under the visible property I put a value which is either true or false depending on the data. But even when all the data is null and the visible property equals false, it still stays visible.

View 2 Replies

Flex :: Add Total Columns In DataGrid?

Jun 9, 2011

I have one Datagrid in Flex. In datagrid there are 4 columns like mark1,mark2,mark3,Total.When i enter mark1,mark2,mark3 that time i want to update total.

View 2 Replies

Flex - Increase Space Between Columns?

Oct 26, 2011

I just added columnWidthRatio: 1; to my mx|ColumnChart to fatten up my columns a little. But now, there's no space between the X axis and columns, and between the columns themselves, so how do I increase this space?

View 1 Replies

Flex :: Swapping Columns And Rows Of DataGrid Possible?

Jul 22, 2009

I have a 1 row, many column flex datagrid. I would like to turn the dataGrid on its side, so that the column headers become a single column running down and v.v. Is there a way to do that in the DataGrid? Or am I stuck manipulating the data presented to the grid?

I have an object like:
x=y
b=u
o=p
u=e
w=p

And I'd like a control that is visually similar to that. Currently the datagrid displays the object as:
x b o u w
y u p e p
Which is too horizontal for my case.

View 2 Replies

Flex :: Creating A TreeGrid With Sortable Columns?

Aug 21, 2009

I'd like to put a TreeGrid in my application so that the columns can be sorted. If you refer to this sample application, you'll notice that if you

Open a branch node
Sort by one of the columns
Close that branch node

then the TreeGrid starts to get out of wack and duplicate columns start appearing and other columns start disappearing. What I would like is to have the columns sorted only by the outermost nodes.

One attempt I had was to run treeGrid.closeAllItems() before the sort occurred. However, this does not work, because a Sort Column event gets dispatched while closeAllItems is running, so the list gets messed up and listOutOfBounds exceptions get thrown.

View 1 Replies

Flex :: Sending Entire Columns Of Datagrid To PHP?

Nov 4, 2009

My Main.MXML

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:mate="http://mate.asfusion.com/" width="100%" height="100%">
<mx:AdvancedDataGrid sortExpertMode="true" id="baselineGrid" dataProvider="

[Code].....

I need to send the entire datagrid columns to PHP. How to send all the values of the column 1 and column 2.

Note: COlumn 2 is an itemRenderer which has a combo box.

View 1 Replies

Flex :: Make Columns Aligned Between 2 DataGrids?

Nov 9, 2009

I have 2 advanced data grids, one above the other. They both have the exact number of columns, and pertain to each other in the same way. But each is showing different data, which is why I split into 2 grids. However, on each one you can resize the columns, what I would like is to make it so that if you resize a column on either datagrid the same column on the opposite datagrid resizes as well, so they are both always lined up.

View 1 Replies

Flex :: Resizing Columns In Adobe AdvancedDataGrid?

Jun 10, 2010

I'm using an AdvancedDataGrid without the header row (AdvancedDataGrid.showHeaders="false"), my AdvancedDataGrid has 2 columns, where the first one will show a hierarchical data (tree).The tree may be very long and very deep or may contain a long string in the node label so the user will not be able to see the whole vale of the tree node, I want to be able to resize the column using the vertical separator of the gris (the one displayed/separates between columns) or to be able to define a horizontal scroll bar only for the first column.

View 1 Replies

Flex :: Sort Grouped Columns In AdvancedDatagrid

Feb 1, 2011

I#m looking for a solution to sort all grouped colums in advancedDatagrid. It should be the same behavior like clicking in a columns head. i'm not looking for a solution to sort the fields IN a the grouping. There is working solution named compareFunction. But I'm not able to sort the two rows in my picture by column "Einnahmen". Sorry for the german word.

View 4 Replies

Flex :: Entity Container Lookup Columns?

Feb 22, 2011

I am successfully using an Entity Container to allow users to enter a new contactIs there any way to control what columns are shown when the user searches for an Account Name? At the moment 5 columns are shown, but I would like to display different columns and change the display order.

View 1 Replies

Flex :: Dynamically Creating Datagrid And Its Columns?

May 1, 2011

1) Using datefield as item renderer in flex.I am dynamically creating datagrid and its columns. like

dataGridColumn=new DataGridColumn();
dataGridColumn.dataField="invoiceDTO.invoiceDate";// I read this value from XML
dataGridColumn.editorDataField="selectedDate";
dataGridColumn.itemRenderer=new ClassFactory(DateFieldRenderer);
dataGridColumn.rendererIsEditor=true;

But when UI is generated i get the error invoiceDTO.invoiceDate not found on the TestDTO

//Test DTO

public class TestDTO
{
public var invoiceDTO:InvoiceDTO;
}

My objective is my dataField should be binded with datafield inside the datagrid.How can i do it in actionscript

2) I need to present combobox as item renderer. (same like case 1). But how can i assign dataprovider in the combobox which is present inside the datagrid.

View 1 Replies

Flex :: Multiple Datagrids With About 10-15 Columns Total?

Aug 30, 2011

I have multiple datagrids with about 10-15 columns total. I have a numeric sortCompareFunction for each column. At the moment, I have a separate function for each sort compare I do....each does the sorting numerically. I'm guessing I could condense functions sort1, sort2, sort3, etc into 1 function but I can't figure out how:

private function sort1(obj1:Object, obj2:Object):int{
var value1:Number=(obj1.zip==''||obj1.zip==null)?null:new Number(obj1.zip);
var value2:Number=(obj2.zip==''||obj2.zip==null)?null:new Number(obj2.zip);[code]...............

View 2 Replies

Flex :: Get TileGroup To Auto-resize Columns?

Sep 14, 2011

Not sure if I am doing this the best way but I want to create a mobile app that has a home menu screen much like the facebook iphone application(with out all the fancy button moves etc). The FB app has a 3X3 set of buttons that allow you to access things like news feed or friends.In order to keep my layout consistent across different device screens I was trying to user the TileGroup with an image as a button for each tile.but while I can specify the tilegroup to use 100% width and height and set the number of rows and columns to 3. It does not appear to autosize the height of the rows and columns to fit the screen. and it won't let me specify the with/height as a percentage.

View 1 Replies

Flash :: Dynamically Add Columns To Datagrid In Flex

Sep 22, 2011

I am trying to make a datagrid, that will dynamically add columns to it based on some condition. Now, I am able to add the columns, but I want the newly added column to have button using itemRenderer. I am unable to achieve this though. Getting this error on line 1

[Code]...

View 1 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 :: Move/reorder Columns In A Spark DataGrid?

Apr 6, 2012

I am unable to find if the spark DataGrid supports moving / reordering the columns. If not what could be the best solution? Maybe using the mx version?

I want the user to be able to drag the columns and arrange them.

View 2 Replies

Flex :: Add Columns Programmatically And Set Grouping On AdvancedDataGrid Control?

Aug 22, 2009

on advancedDataGridControl in flex3 , how to do the following:

1. Add Columns at runtime ( programmatically )

2. Specify the column grouping ( programmatically )

3. set method to be used to show summary row ( programmatically)

View 1 Replies

Flex :: DataGrid Columns Missing Header Text?

Feb 25, 2010

I created a component that is multiple datagrids side by side that share the same columns (each datagrid is the same as the one before but with different data).ProblemThe header text only shows up on the last datagrid. How can I get the text to show up on all the datagrid headers?Here is how I instantiate the component.

<common:PageDataGrid width="100%" height="100%"
numGroups="5" numRows="9" dataProvider="{createData(5, 9)}">
<common:columns>

[code]........

View 1 Replies

Flex :: One DataGrid Item Renderer For Multiple Columns?

Apr 30, 2010

I'm trying to create a Flex DataGrid where the firstname and lastname are shown under each other, but in the DataGridColumn

Ideally I would want to do something like

<mx:columns>
<mx:DataGridColumn headerText="Column 2" dataField="time"/>
<mx:DataGridColumn headerText="Column 2" dataField="firstname,lastname" itemRenderer="renderers.FirstNameLastName"/>

so that both values get passed to the itemrenderer, is this possible?

View 1 Replies







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