Flex :: Create A Data Grid And Use It On A Webpage?

Jul 29, 2009

I want to render a very simple Flex data grid. How do I anchor the SWF flash file in the HTML? Do I need to compile a special .swf or can I use a 'standard' data grid .swf - and just pass the data to it?

View 1 Replies


Similar Posts:


Xml :: Create A Dynamic Xml Which Populates An Advanced Data Grid In Flex Air Application?

Dec 28, 2009

Is it possible to create a dynamic xml file which changes in some fields to populate an advanced data grid?I have to display continents, countries, society and its values but i want to change randomly only the value and not all toegether...The client side application call the database by an asynchronous httpservice.LCDS, Blaze or similar are not allowed.

View 1 Replies

Flash :: Flex Data Grid: Check Whether Item Renderer Displays Last Row In Grid

Feb 3, 2012

I'm currently working with the OLAPDataGrid component and got stuck at a relatively simple task: I want to style the last row of the grid differently from the rest, so my cell item renderer needs to know whether he's rendering the last row with content in the overall grid, including those rows currently not rendered because they are outside the visible grid space. AdvancedGridListData's rowIndex property only gets me the row index of the renderer relative to the range of visible grid rows, i.e. when I scroll down the grid, a data item with an index greater than 0 gets the rpw index = 0.

View 2 Replies

Flex :: Get Data From Dynamic HTTPService Asynchronous To Populate An Advanced Data Grid

Dec 28, 2009

I have to populate an Advanced Data Grid which have the following fields: Continent->State->Society-->Actual Value-->Estimate Value I want to simulate a financial market so i have to change some of the values by asynchronous request from an HTTPService; If necessary i'll post the .as file, but it is generated automatically by Flex Builder.

Here's the code of the client side Flex/Air application:

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

[Code].....

View 2 Replies

ActionScript 3.0 :: Flex Data Grid - Update Column With Variable (not From Data Provider)?

Jul 27, 2009

I have a data grid who's data provider is set to an XML object.

Code:
<mx:DataGrid id="streamMonitorGrid" dataProvider="{_data.stream}" height="100%" width="100%">

[code].....

View 5 Replies

Flex :: Update Hierarchical Data Provider In Advanced Data Grid During Drag And Drop?

Nov 11, 2010

I am trying to drag and drop hierarchical data in the same advanced data grid, and I would like the data provider to updated when the ADG is updated. (I want to be able to save and load this tree, so it is important that drags and drops are saved.)

[URL]

The sample app has an ADG showing hierarchical data as well as flat data. The first column of each datagrid shows the rowindex of the underlying data.

If you rearrange the items on the left ADG, the row indexes become unordered. If you click traceTree you see that the data provider is not in order.

On the other hand if you do the same on the right, the row numbers stay ordered even when the objects move around and if you click traceFlat, the data provider is in the order shown on ADG

My goal is to have the data provider order match the ADG order for the left grid which is displaying hierarchical data.

View 1 Replies

Flex :: Load Data In Advanced Data Grid On Scroll?

Jan 7, 2010

need to load 10 records from database in advanced data grid. After i scroll the advanced data grid. it has to load 11 to 20 records etc.

View 1 Replies

Flex :: Data Grid Crashes With Data Provider Change?

Oct 5, 2010

I have a radio button group within a data grid, whenever I attempt to change the selected radio button the web page crashes. Below is how I put together the radio button in the data grid.

MXML

<mx:Accordion>
<fx:Declarations>
<s:RadioButtonGroup id="cover"/>

[Code]....

View 2 Replies

Flex :: Data Grid Not Displaying Data In Array Collection?

Oct 7, 2010

My data grid is displaying stale data, rather than the real time data available in it's data provider (array collection). I've tried refeshing the data in the collection, but that has no effect. Below is my code, does anyone see what could be the problem?

<mx:Accordion/>
<fx:Script>
<![CDATA[[code].....

View 4 Replies

Flex :: To Sort All Data In A Paginated Data Grid?

Jun 24, 2010

I have paginated data grid having more than 5 pages (100 records/page) now i want to sort them all on just clicking on fields header

View 1 Replies

Flex :: Same Data Provider For Chart And Data Grid?

Aug 18, 2011

I want to display the same data in a chart and a data grid. I want to use the same data provider for both of them to reduce the amount of SQL queries.How do I transform the database structure into the chart structure and into the table structure using ActionScript?*

Database structure in JSON format:

[
{key:, year:, value:},
{key:, year:, value:}
]


Data provider structure required by a chart:

[
{series1:, series2:, year:},
{series1:, series2:, year:}
]

Data provider structure required by data grid:

[
{key:, year2000:, year2001:, ...},
{key:, year2000:, year2001:, ...}
]

View 1 Replies

Flex :: Show Data At Group Level In Flex Advanced Grid?

Aug 6, 2009

I am working on a grid example in flex using advanced grid control. I know we can easily group data by specifying the field name. At the group node level, other than the gorup name I want to be able to show data in the rest of the cells ( calculated data ) and I am looking for some dataRowBound event or similar to be able to hook some data in it.

Example: Grid displaying list of towns grouped by state. At the group level ( for each state) I want to show the total number of towns in each state. Here how can i show the total number in the town column.

View 1 Replies

Flex :: Datagrid - Display A Multi-line Column Header Using The Flex Spark Data Grid?

Apr 13, 2011

How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?

View 5 Replies

Flex :: Key Events On Data Grid?

Apr 14, 2011

I am working in Flex3. Here I have a datagrid which contains data. some columns are editable. when the user changes the column data web service is called. Here using function of focusOut, I am calling the web service by sending the data which comes from the datagrid through focusOut function. Now I want to call the web service when the user changes the column data and presses keyboard key 'Enter'. Here I can call function but the event does not carry datagrid's data to the function being called.

View 3 Replies

ActionScript 2.0 :: Create A Simple Multiplication Grid Where Children Will Fill The Grid?

Oct 9, 2009

I need to create a simple multiplication grid where children will fill the grid. Its an empty grid at the begining, when they start the time start as well.Its a grid of 10 x 10. when they enter the last number, the grid should show what they did wrong and the time they spend. It's an idea of how it could work but if anyone has something that looks like this.

View 6 Replies

Flex :: Css File For Advance Data Grid?

May 15, 2010

any one send me the css file to have good look n feel for advance datagrid.

View 2 Replies

Flex :: Add Sortcomparefunction To Dynamic Data Grid In It?

May 28, 2010

I am trying to create a dynamic datagrid in Flex 3, I have a list of columns a list of objects which correspond to datapoints for those columns which I fetch from a url. While the grid works perfectly fine the problem is that sorting on the columns is done in lexical order.[code]...

View 1 Replies

Flex :: Data Grid Computed Column?

Mar 23, 2011

How to make a computed column in Flex datagrid? example:

<mx:DataGrid dataProvider="{ConsoleDetails}" id="datagrid">
<mx:columns>
<mx:DataGridColumn headerText="Absent Hrs" dataField="absentHrs"/>

[code].....

View 1 Replies

Flex :: How To Create Overlay In Advanced Grid

Oct 6, 2009

I'd like to know how to create an "overlay" in Flex's Advanced Grid? See the sample here [URL].

View 1 Replies

Flex :: Advanced Data Grid:column Visibility?

Dec 7, 2009

when we use an advanced data grid, only when we click on the parent element the children details get populated in the corresponding columns, right?..SO now i have made the empty columns invisible(at design) now how do i make them visible at run time when the parent element is expanded..similarly once the columns are visible, how can i make them invisible again when the parent element is closed.

View 1 Replies

Flex :: Get Selected Column Value In Advanced Data Grid?

Jan 24, 2010

How to get value of selected column form Advanced datagrid whose visble propery is false .

View 1 Replies

Flex :: Select Rows Using Key Board In Data Grid

Jun 15, 2010

I need to select rows using key board up and down arrow buttons in the flex data grid.

View 1 Replies

Flex :: Using An Image Item Render In A Data Grid

Jul 7, 2010

I'm attempting to add an image to a datagrid item render dynamically in flex. Here is my DataGrid code The value of "str" in the getImagePath function is correct.

[Code]....

View 1 Replies

Php :: Flex 3 Query For Recordset Array For Data Grid?

Jul 22, 2010

I am building an application in Flex Builder 3. Yes, I know that it has an auto-magic feature to build datasheet, but that will not work. I see many Flex controls, such as combo box, can take an array as a data source.

My question, therefore, is (1) How do I send the request from my action script to my PHP form to request a record set. (2) Presuming that my dataset is in a PHP assoc array, how do I format it to send it back to Action Script. (3) How do I take the data received from the recordset, and put it inot an actionscript array, suitable for use as a data source.

I can connect to my database in PHP, and query it just fine, so I don't need help with that. For consistency, and humor, lets presume that I have the following data in an assoc array that I pulled from a database.

[Code]...

View 2 Replies

Flex :: Datagrid - Data Grid Visibility When Empty?

Oct 19, 2010

I have data grid that measures the height according to the rows it has, but i need to disappear/ make invisible when i have no data, so the header will not just appear alone.

View 1 Replies

Flex :: Flashbuilder4 - Inserting An Object To A Data Grid?

Feb 26, 2011

whenever i insert an object to this datagrid it show this error

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Forms::LessonPlan/addLesson_clickHandler()

this is my code

for inserting an object
var obj:Object = new Object();
var temp:Object = new Object();
obj.activityid = arrayNames.selectedItem.activityid;

[code]....

View 2 Replies

Flex :: Datagrid - Selecting A Checkbox And Deleting A Data Grid Row?

Jul 3, 2009

I am trying to implement the following :

1> First column of datagrid has a checkbox.
2> Select checkboxes, and then delete the datagrid column.
3> Dynamically, add checkbox when row is added dynamically.
4> Do not show check box if now data in row.

View 4 Replies

Flex :: Format Data Grid Row Color Based On Two Cell Value?

Aug 21, 2009

I have a flex data grid. It contains two column Maths Mark and English Mark. If Math Mark >English Mark for any row then it will set that particular row color as Green.

View 1 Replies

Flex :: Datagrid - Highlight Selected Cell Of A Data Grid

Aug 25, 2009

I have a flex data grid.I need to highlight the selected cell of the data grid.

View 3 Replies

Flex :: Make Changes To An ArrayCollection Bound To Data Grid Live?

Feb 21, 2010

I have an ArrayCollection bound to an editable DataGrid, another component needs to know when the ArrayCollection changes (as a result of changes in the DataGrid) so it can also update itself, so is listening to the COLLECTION_CHANGE event of the ArrayCollection.

The problem is that the DataGrid only updates the ArrayCollection when the row being edited losses focus. This is not good for my app as a user could edit a column on a row and not click elsewhere on the table for a long time (causing the row to lose fucus), therefore the changes won't have propagated to the other parts of the application.

How can I make the data grid inform the ArrayCollection of a change every time there is a keyup event on a text input instead of every time a row looses focus?

View 2 Replies







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