Flex :: Include ComboBox In Flex Datagrid Header?

Dec 22, 2009

I want the comboBox to be placed in one of the columns of the datagrid header.The datagrid should be filtered according to the value selected in the comboBox.e.

View 1 Replies


Similar Posts:


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 :: Adding Two Header Text In DataGrid

Aug 28, 2009

Can i add two header text in Datagrid? My Requirement is to have two Headercolumns in a Datagrid. Is it possible?

View 2 Replies

Flex :: Change Datagrid Header Text?

Oct 26, 2010

i have a datagrid. i want to change the header text of the first column to a dynamic text on click on a button.

View 1 Replies

Flex :: Put Image In Header Using HeaderRenderer For Datagrid?

Mar 18, 2011

how to create an headerRenderer and embed and image in the first header (column) for my datagrid.

View 1 Replies

Flex :: Set A Tooltip Just On Header Of A Spark Datagrid?

Sep 21, 2011

Is it possible to set a tooltip just on the header of a spark datagrid. I do not want any tooltips on the data - just the header. I have played with mouse over and this sort of looks like it might work. This seems a bit of a hack to me though.

View 1 Replies

Flex :: Ability To Add Buttonicon In Column Header Of Datagrid?

Aug 4, 2009

I want to display the grid control in Flex ( version 3 . with a marker/(or)icon (which acts like a button) in each colum header of the grid.2. on click of the button i want o popup a textaread to capture some comments.3. on close of the popup i wan to then change th markericon in a way highliting it which would indicate that some comments(footnotes) are present for this column. I am very new to flex looking at the data grid control at this point. I understand that the standard features can be easily plugged in by msxml. Do i need to write some complex action script for above feature listed?

View 2 Replies

Flex :: DataGrid Remove Header MouseOver Highlighting?

Dec 16, 2009

I want to remove the highlight that occurs when mouse over occurs on the headers of a DataGrid.

View 4 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 :: Vertically Aligning Datagrid Header Text?

Mar 24, 2010

I'm having some issues aligning the header text of a datagrid. I'm using an embed font for the header text, and when applying the css, the header text behaves as if I'd set the text vertical align to top. I'm trying to vertically center the text, but haven't found a way to make it work.

View 1 Replies

Flex :: Show Hand Cursor On A Datagrid Header?

Dec 15, 2010

Is it possible that when mouse is over the datagrid header the cursor changes to hand cursor instead of the pointer?

View 1 Replies

Flex :: Remove Header Horizontal Separator From Datagrid?

Feb 17, 2011

Is it possible to remove the horizontal separator which divides the headers with the data? I managed to remove the vertical ones with mx.skins.Programmatic skin, but could not find a way to remove the horizontal separator.

View 1 Replies

Flex :: Unable To Rotate Header Text In Datagrid?

Nov 16, 2011

I'm having trouble in rotating the header text in my datagrid. I don't know understand the reason why its failing.

Datagrid column AS3 code:

dgc=new DataGridColumn();
dgc.dataField=columnName.gene;
dgc.labelFunction=gridLabelFunction

[Code].....

View 1 Replies

Flex :: Datagrid Different Fonts For Column Header And The Text In The Corresponding Cell?

Aug 4, 2009

For a flex datagrid : How do I have different fonts for a column header and the text in the corresponding cells?

View 1 Replies

Flex :: Use Custom Background Skin On Datagrid Header For Currently Sorted Column

Apr 26, 2011

I use a flex mx:datagrid. I can set the headerBackgroundSkin to specify a skin or a picture to be displayed in all datagrid column's headers and it works just fine !

The problem is I can't find any way to specify a custom skin for the currently sorted column (doesn't matter if the sort is asc or desc, this is just to show the user which column is currently sorted).

I also tried to create a custom headerRenderer for each column but it is quite complicated and doesn't work very well.

I have been looking for the solution for a while but I can't find a good approach to do it. It sounds like a very basic need for me...incredible it is so complicated to achieve with Flex !!

I noticed someone was looking for the same thing few years ago but without success... [URL]

View 2 Replies

Flex :: Get The Value Of A ComboBox That Is In A DataGrid?

Oct 6, 2009

I have a data grid that has ComboBoxes in two of its columns.

What I need to do is get the values of those bombo boxes when a user highlights the row of the grid NOT when the user uses the comboBox. I understand how to pull the values out once the change handler is invoked on the comboBox, but I'm not seeing a way to get at the comboBoxes that belong to the currently highlighted gridRow.

I'm sure it's really straight forward, but I'm just not able to find any reference on how it's done.

View 2 Replies

Flex :: Get The Value Of A ComboBox Within A DataGrid?

May 12, 2010

I have a DataGrid with a ComboBox as an ItemRenderer for one of my columns. When the user selects a row, I want to get the ComboBox's selected value for the selected row.

EDIT: I should have mentioned that the dataField2_Array property in myData is actually an Array is the dataProvider for the ComboBox. Each object in myData could have completely different values in that Array so the ComboBox in each row of the DataGrid could have completely different options to pick from.Some sample code:

<mx:DataGrid id="myGrid"
dataProvider="{myData}">
<mx:columns>[code].....

View 2 Replies

Flex :: Filter A DataGrid With A ComboBox?

Oct 28, 2009

How can I filter a datagrid based on the value in the combo box? Can anyone show me some good examples on it?

In my application, I already filter a datagrid based on the text entered by the user. I check if the entered string matches the column entry of the datagrid and if a match is found,the filterFunction on the dataprovider is called.

This is that code:

<mx:FormItem direction="horizontal">
<mx:ComboBox id="searchCriteria1" dataProvider="{criteriaDP1}" change="searchFunction()"/>
<mx:TextInput id="search" change="searchFunction()"/>

[Code]....

searchCriteria is the comboBox,where I have the items, "ALL","HIGH"...I have two rows with value "high" and I get the Alert "yes" for two times only.. But in the data grid all the four rows are displayed.

View 1 Replies

Flex :: Using An ArrayCollection To Populate Both A Datagrid And A ComboBox

Aug 11, 2010

I use this arrayCollection to populate a Flex 3 Datagrid. I'd also like to use this arrayCollection to populate a comboBox with the Name node.

In the arrayCollection, I've got the Name listed twice. I've got two rows in the Datagrid.

If I set the ComboBox's labelfield to Name, then the Name will be listed twice in the ComboBox menu. Is there a way to use this arrayCollection and have each Name listed only once in the comboBox?

I can always make another loop and array collection for the Name, but I was wondering if there were a better way.

var i:uint;
for (i=0; i<myArray.length; i++){
myDGArray = [

[Code]....

View 1 Replies

Flex :: Collection Framework That Can Used In ComboBox And DataGrid

Aug 23, 2010

I know AS3Commons-collection framework is a good one, but it can't use in ComboBox, recently.I try to use LinkedSet data structure to retrieve and store data in ComboBox, any one can help me?

View 1 Replies

Flex :: Update A Combobox/datagrid Sorter?

Jan 15, 2011

I'm trying to update a combobox/datagrid sorter that came from flex3 to a flex4 version but I keep getting an error that my newbie brain is not processing. The error is "1067: Implicit coercion of a value of type Array to an unrelated type mx.collections:IList."

[Code]...

View 1 Replies

Flex :: Combobox Selection Inside Datagrid?

Mar 1, 2011

I have a datagrid.In this datagrid I have a combobox item editor. This datagrid also has multiple columns where a user inputs numbers in each column. These numbers are then calculated by formula where the sum is posted in the "total" column. In this combobox there are two options for the user to choose from and each option has a different formula for calculating the inputted numbers. What I want is for when a user chooses "option 1" one formula is used to do the calculation, when "option 2" is chosen by the user then formula two is used to the calculation.Here's an example:

Combobox Option 1 (formula 1) is chosen by user = (Column2 - Column1) x column3 = "total" column
Combobox Option 2 (formula 2) is chosen by user = (Column1 - Column2) x column3 ="total" column

I realize you would use a conditional such as "if else" statement, but im just not sure how to do it. I've been trying to implement this for a while with no success.

View 2 Replies

Flex :: Populate 2 Columns In Datagrid From Combobox ItemRenderer

Oct 26, 2010

I have a data grid with an Combobox itemRenderer in it. What I have is a grid with a person id and person name (more stuff in grid but I am struggling with this). In the person name column I have an combobox with all the people on then system's names and id's. What I want to do is when I select a person in the combobox I want the combobox to populate the person name fields (which it does) but I also want to pull out the person id from the combobox and populate the person id column in the data grid as well.

View 1 Replies

Actionscript 3 :: Flex Mx:DataGrid - Create Combobox ItemRenderer?

Jan 24, 2012

I have a mx:Datagrid in witch I'd like to add a combobox as item renderer.

<mx:DataGrid id="dgEnsActes"
horizontalScrollPolicy="on"
dataProvider="{arListeDevis}"
width="100%" height="100%" >
<mx:columns>

[Code]...

View 1 Replies

Flex :: ComboBox In DataGrid Loses Values When Scroll Horizontally

Dec 14, 2009

I have a very strange problem in a Flex 3.4 Datagrid. One of the columns is a ComboBox - I have my own custom renderer for the ComboBox. I use it to select my data and then make a "save" to the db. Upon return the comboBox loses its value. Even stranger is that when I scroll the datagrid area to the left (by moving scrollbar right) - the values in the ComboBox change!! When I scroll the datagrid right (by moving the scrollbar left) - the values in the ComboBox don't change.

View 2 Replies

Flex :: Which Event Is Fired After The Data Is Loaded Into Datagrid Or Combobox

Feb 26, 2011

Which event is fired after the data is loaded into datagrid or combobox ? (Assuming the dataprovider is set to the datagrid).

View 1 Replies

Flex :: Define A Class Implements ICollectionView - Which Can Use As ComboBox Or DataGrid's DataProvider(not Build-in Class)

Aug 19, 2010

recently, I research for the collection framework, and find LinkedSet(AS3Commons collection framework,it is a good opensource framework) written in ActionScript, but it can't use as dataProvider in ComboBox or DataGrid, because only implements ICollectionView can use as dataProvider. So I want to try if a class implements ICollectionView can work or not. I know Flex has build-in class implements ICollectionView, but I only want to define a class not use build-in class. The class as simple as possible.(can work is enough)

View 1 Replies

ActionScript 3.0 :: Include Xml Header In A Xml Object?

Jun 21, 2011

I can't seem to include <?xml version="1.0" encoding="UTF-8" ?> when creating XML in AS3. note: I am not trying to read it in, I need to create XML to save/process elsewhere.
 
var myXML:XML = <ROOT><myChild>test</myChild></ROOT>;
trace(myXML); //this works
var myXML2:XML = <?xml version="1.0" encoding="UTF-8" ?><ROOT><myChild>test</myChild></ROOT>;
trace(myXML2); //this DOESN'T work - it is blank
 
I can only include the header if I treat everything as a string, not as an XML object.

View 2 Replies

Flex :: Actionscript - Authorization Header Is Not Send For The Subsequent Request From Flex Application

Jun 15, 2011

I am trying to access html files protected by basic authentication. Below is the code to do that but I still get the authentication dialog. I checked the fiddler and found that for the first request authorization header is present but for the subsequent requests which is requested to load the .js, css & images the authorization header is not added. This is the reason I am getting the auth dialog.
Is there a way to add authorization header to the subsequent requests as well?

[Code]...

View 1 Replies

Flex :: Web Services - Pass Authorization Header From Flex WebService?

Jun 24, 2009

I have Basic Authorization mechanism on the server for WSDL/SOAP. How I can send "Authorization" header through Flex WebService?

Simplified example:

var ws:WebService = new WebService();
ws.wsdl = "http://localhost:8000/api/service.wsdl"

var encoder:Base64Encoder = new Base64Encoder();
encoder.insertNewLines = false;

View 1 Replies







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