Actionscript :: Flex Datagrid Column Disable And Enable

Dec 2, 2011

In my flex application im using a datagrid with following columns [code]now i want to disable the checkbox column on fetching data..after datas are populated in datagrid if user selects any of the field in datagrid for editing..the checkbox for that selected row should be enabled...other rows checkbox should be disabled..

View 1 Replies


Similar Posts:


Flex :: Flash - DataGrid Column Width: One Column To Rule Them All?

Nov 16, 2010

I have a Flex 4, mx:DataGrid with the following (pertinent) properties set:

width="100%"horizontalScrollPolicy="off"

I have the minWidth set on all of the DataGridColumns and the width set on one of them. If I simply maximize/minimize the display (in browser or stand-alone flash player) of the application, the columns scale up and down nicely. But if you grab the edge of the application and drag it to make it bigger, only one column grows really big. When you drag the size down again, the one column remains big, but all of the other columns get squished way down.

View 3 Replies

IDE :: Make A Table In Flash And Enable The Column Headers On The Table To Sort Column On Click?

May 4, 2009

How to make a table in Flash and enable the column headers on the table to sort column on click?I have seen some tutorials with mySQL but I'd like to start with something basic. Is a sortable table possible using just Flash and AS 2.0?

View 1 Replies

Flex :: Enable/Disable Certain Tabs In TabBar?

Apr 19, 2011

Is there a way to Enable and Disable specific tabs in a tabBar? I found one example using a VBox within the ViewStack but I'm using NavigatorContent.

View 4 Replies

Flex :: Listening For Enable/disable State Change?

Dec 2, 2009

For my custom components, when they go from enabled to disabled or disabled to enabled, I want to trigger a custom event. I can't find any related events in the livedocs.

View 2 Replies

Flex :: Google Maps - Enable / Disable GoogleMaps In A 3 Application?

Oct 13, 2011

I'm developing an application using the Google Maps API with Adobe Flex Builder 3. Wrote the "HelloWorld" code provided by the GoogleMaps Reference...

[Code]...

everything goes well but the application consist on a cartesian plane that, optionally, could have the GoogleMap displayed on the background. The point is that I don't know how to hide the map once it is loaded. I would like to load it only if I click on a checkbox
I came here after searching over the GoogleMaps Reference for some "enable/disable map" function, but I had no luck.

View 1 Replies

Flex :: Disable/enable A Group Of Components (or Change A Property)

Mar 24, 2012

How can I enable or disable a group of components in flex (flash builder 4)?

For example, if I have a window with several fields, I want to disable them based on the users permissions.

I know I can add the enabled="true" or "enabled="false", and I can also use enabled="{writeAccessVar}"

However, I am looking for more ideas, as I might have more than one group of fields on the screen, or more complicated user permissions.

For example, I will currently have one field with write access, the other fields on the screen read only for a certain user level.

For a higher level user, all fields are writable. Lower level, all are read-only.

View 1 Replies

Flex :: Get The Particular Values In DataGrid Column?

Jul 14, 2009

dg.selectedItems gives me all the values selected, but if i need one column names value alone then what should i do.

<mx:DataGridColumn dataField="1" headerText="Email" />

View 1 Replies

Flex :: DataGrid Column Width?

Aug 17, 2009

In my flex app I store the widths and visiblility of columns in an xml file. When the app loads it reads from the xml file and sets he columns values as applicable:

for(i = 0; i < columnsOrder.length; i++){
newOrder[i] = myDG.columns[Number(columnsOrder[i]) - 1];
newOrder[i].visible = (Number(columnsVisiblity[i]) == 1);

[code]....

View 3 Replies

Flex :: Select A Column In Its Datagrid?

Sep 30, 2009

In a flex datagrid, by default clicking on column headers does sorting. I want it such that if a user clicks a column header the entire column is selected. I have the datagrid listening for the HEADER_RELEASE event so I know when the column header is clicked.

How can I have the column and header appear highlighted similar to how a row is highlighted when selected?

View 2 Replies

Flex :: Get Column Values In Datagrid?

Nov 22, 2009

I want to get all values in one of the columns of a datagrid and put them in an array, to use it as a dataprovider of a combobox, is this possible?

I use an ArrayCollection as the dataprovider of the datagrid, it's filled from the database.

View 1 Replies

Flex :: Datagrid Tab To Checkbox Column

Apr 15, 2012

Context: I have a data grid where the following has been implemented. tabbing through each column in a single row and creating a new row when tabbing from the last column. The last column in my datagrid is now a checkbox. I set the 'editable' to false as shown below (since we don't want editable text to be shown when user clicks on/tabs to checkbox.

Problem: When I tab through the columns of a given row, I cannot tab to the checkbox column and therefore cannot use the space bar to toggle between checked/unchecked. The user is forced to use the mouse to toggle the check box. Question: How do I let user tab to the checkbox column, and press spacebar to toggle between checked and unchecked?

View 1 Replies

Flex :: Highlight The Datagrid Column?

Dec 30, 2009

How to highlight the data grid column?

View 1 Replies

Flex :: Datagrid Column Not Displaying Value

Sep 7, 2010

We have a Datagrid:[code]where practiceJoinRequestThicks is an ArrayCollection of PracticeJoinRequestThick object.The PracticeJoinRequestThick has an Practice Object.Practice has an arraycollection "PracticeContactAddresses" which is an arraycollection of PracticeContactAddress object and Practice ContactAddress object has Address object which has the field city:String.Now when I try to display the City, it does not work.

View 2 Replies

Flex :: Add Datagrid Column Name In Adobe?

Sep 27, 2010

I have defined the datagrid as followsmx:DataGrid id="dg" width="100%" height="100%" >n the part i am trying to get the details from the database and setting the dataProvider for the DataGrid as follows.

var arrayContent:ArrayCollection = new ArrayCollection();
for(var i:int=0;i<assetClassDetails.length;i++)
{

[code]....

View 2 Replies

Flex - Get Checkbox Value Of Datagrid Column?

Feb 25, 2011

i have a datagrid in my web application, i have add a checkbox to datagrid using itemrenderer. how can i get the value of checkbox?

View 2 Replies

Flex :: How To Access Column For Particular Row In DataGrid

Apr 8, 2011

I am stuck in a problem working on Flex datagrid, in an AIR application. How can I access a specific row in datagrid in Flex. I am not talking about the selectedItem or any particular record of dataProvider of datagrid. What exactly I want to do is I am showing some files data (name, description etc.) on a datagrid, and the data of these files comes from an array which is the dataProvider of the datagrid. Now when these files are being uploaded one by one to the server (using a webservice), I want to show a ProgressBar on, say, "Progress" column in the datagrid. How can I access this column for a particular row in datagrid i.e. current file being uploaded.

View 2 Replies

Flex :: Specify PercentColWidth For DataGrid Column In AS

May 16, 2011

Tried
col.setStyle('percentWidth',20) //doesn't work
col.setStyle('percentWidth',0.2)//doesn't work
&&
col.percentWidth //doesnt compile
Where col is one of the columns in a datagrid.

View 4 Replies

Flex :: Datagrid Multiple Components In One Column?

Jun 24, 2009

I wanted to ask if there is a possibility to have both strings and radiobuttons in one column depending on the value of another column perhaps|column1 | column 2 | |r | radiobutton||s | string |If there is an r in column 1 in column2 should appear a radiobutton, otherwise column 2 just shows a string.

View 2 Replies

Flex :: Transposing Set Of Rows As Column In DataGrid

Aug 26, 2009

I have an array like the following one
public var sal:Array=[
{empNo:1001, sal:1000, exp:400},
{empNo:1002, sal:3000, exp:240},
{empNo:1003, sal:1000, exp:452},
{empNo:1004, sal:5000, exp:348},
......
{empNo:1550, sal:2000, exp:330},
];

I need to show data using a 3 row flex data grid where the first row will display empNo, the second row will display corresponding salary(field sal), and the third row will display Expenditure (field exp).

View 2 Replies

Flex :: DataGrid - Find The Maximum Value In A Column?

Feb 10, 2010

How would I find the maximum value in a specific column in a Flex DataGrid?

View 2 Replies

Flex :: Have A Sorted Column In Datagrid For Days (Mon, Tue, Wed)

Feb 12, 2010

I have a column in a data grid that has the values of "Monday", "Tuesday" etc, as varchars, and I wanted to know, how do i sort the column to be in the correct order. Doing a normal sort doesnt work obviously, as the days are not alphabetically ordered naturally (Wed after Thurs). I am assuming some sort of itemrenderer, but anyone got a snippet of code to illustrate how this would work?

View 1 Replies

Flex :: Set The Same Column Width In A Datagrid At Runtime?

Mar 15, 2010

In flex, I have a datagrid with 22 columns. I initially display all the columns. The width of each column right is uniform. Now when i change the visiblity of a few columns, the width of each column varies. How do i maintain a uniform column width for each column whether or not there are any invisible columns? how do i get the count of number of visible columns. the ColumnCount property returns total number of columns and not the number of visible ones.

View 3 Replies

Flex :: Possible To Call Function By Using Datagrid Column?

May 17, 2010

Is it possible to call the function by using the datagrid column item?I want to call the function while the user click the particular column item in the datagrid?

View 1 Replies

Flex :: Make A Particular Column Of Datagrid As Non Sortable?

May 31, 2010

I am trying to make only one of the columns of a datagrid as sortable using flex 3. but using sortableColumns all the columns change their property.

View 2 Replies

Flex :: Add The Values Of A Particular Column And Display It Below Datagrid?

Sep 14, 2010

I have a datagrid with three columns.In one column I have to add all the values and display the total value.

View 1 Replies

Flex :: DataGrid Column Width Is Not Set Properly?

Jan 4, 2011

In the below example I has called the OptimizeDataGrid method on Button Click event to resize the Column according to the data. whereas on the First Time of the Button Click event It called the function whereas the Datagrdi Column width alone is not set properly.whereas on second time it is working properly.For Eg : In the below statement the text value is coming as 55 and widthPadding is comes as 25. but the sum of these two value is not in the dg.columns[col].width.

dg.columns[col].width = text + widthPadding;

But the same is working on the second time of the Button click event.

<mx:Script>
<![CDATA[
import mx.utils.ObjectUtil;[code].....

View 1 Replies

Flex :: Flash - Put A Currencyformatter In A Datagrid Column?

Jan 26, 2011

I need to format the column with a currency formatter. I know how to do currency formatting I just need an example on how to implement it into the datagrid column.

View 2 Replies

Flex :: Create Own Dataprovider For Each DataGrid Column?

Mar 13, 2011

There are several ArrayCollections and DataGrid in my application. Number of ArrayCollections determined by the input data. How to create own dataprovider for each DataGrid column?

View 1 Replies

Flex :: Format Datagrid Column Color?

Mar 27, 2011

I have a advanced datagrid label function like this:

private function dgFormat(item:Object, column:AdvancedDataGridColumn):String{
var v3:int = item.value1 - item.value2;
return "Total: " + v3;
}

How can I change the text color of v3 dynamically? I want it to be red if it's less than zero & black otherwise.

View 2 Replies







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