Flex :: Choosing The "visible Column Selector" Mechanism For A Grid?

Nov 11, 2010

there's a need to select a mechanism, allowing user to hide/show columns in a DataGrid.One of suggested ways is adding a button (which looks like a column header, but with no column). When user clicks on it, the list of columns comes and user may select columns to hide/show. But is there any way to have such column in a grid (just a header with no column .. as example - you may see the grid in Mozilla Thunderbird)?

The other, less likely way, was the popup list, appearing when mouse hover the DataGrid. But this list would be used rarely. So, this flashing list would be just a headache for an end-user.

The ways with mouse-clicking .. I'm just afraid, that they would be left unnoticed and user would have a hard days while using a grids with a dozens columns.

Edit #1Maybe it would be better if I just provide a pic of this magical "header with no column", to escape confusion ..

Here's it .. there's a clickable column-header in a grid, but there's no column under it ..

Edit #2There's some area right above scrollbar in the dataGrid, it might be the right place for putting this functionality .. but it seems like I can't use it.

View 1 Replies

Similar Posts:

Flex :: Applying PaddingRight To Grid Column Not To Grid Header?

Mar 31, 2010

Whenever I add paddingRight to a column in the flex grid, it adds the padding to the header as well.Is anyone familiar with how I can add paddingRight just to the column and not to the header? Below is the column code where I was specifying the padding.

<mx:DataGridColumn width="60" headerText="Type" dataField="Grade" headerStyleName="headerLeft" textAlign="left" draggable="false" resizable="false" headerRenderer="GridHeaderRenderer" paddingRight="5"/>

View 1 Replies

Flex :: Flash - Put A Drop Down List And Date Selector In An Advanced Data Grid?

May 11, 2010

I wish to have a standard row with string items except two items,no 1 there is a date field and I need a date selector for it.no 2 in another cell of the row I want to put a drop down list box containing text "40" and "20" or you can manually edit the cell so that it displays what ever input you decide (other than 40 and 20)

View 1 Replies

Flex :: Embed Image Into Grid Column?

Apr 5, 2010

Is there an easy way to embed an image into a flex grid column? Something similar to[url]...

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:DataGridColumn headerText="Absent Hrs" dataField="absentHrs"/>


View 1 Replies

Actionscript 3 :: Change Column Width In Flex Grid

Jun 23, 2009

I'm using a mx.containers.Grid to layout some data, and the last column is a set of checkboxes. MXML Code snippet:[code]Basically, I want the labels & text values to align however the Grid component sees fit. However, I'd like the checkboxes to be right-aligned. I've tried setting the width of the textValues to 100% and it does nothing. I don't want to use hard-coded pixel values/canvases/etc because it is important that this is easy to change/update.

View 2 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 :: 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 :: Determine Currently Sorted Header Column In Data Grid?

Jul 4, 2010

I want to know which header the user clicked on to give the currently sorted view. Is there an API in flex framework that I can use to achieve this? Hopefully I can get back a column index so I know how it is currently sorted.

View 1 Replies

Flex :: Merge Column Headers In A Grid, Similar To Colspan In Html?

Aug 6, 2009

I am looking into achieving below two features in a flex grid( or advanced grid).

1. merge column headers ( as in group just the cells in the header row ).

2. add multiple ( say 2 ) headers to the grid.

View 2 Replies

Flex :: Top Horizontal Grid Line On Column Chart Is Not Applying Style

Oct 21, 2010

I have a Flex Column Chart that has a range of 0 - 6 on the y-axis. I have added the following block to change the default colour of the horizontal grid lines to black.



This works fine for all but the horizontal grid line at the top of the chart (at y=6). If I change the maximum value for the y-axis to something different then this new max doesn't have the formatting applied (but all the others do).

how do I get the top line to be black like the rest of the grid lines?

View 1 Replies

Flex :: Air - Get The Parent Of A Custom Grid Column Filter Editor And Open A Popup Window?

Jan 31, 2012

I am trying to figure out how to open a pop up window in my Air application, in a secondary Window, instead of the main application window.I am using the ReusableFX components, which include a custom DataGrid with filtering and other capabilities. The filtering feature displays a pop up window via PopUpManager when you click on the top of a column in the grid.

PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);

The problem is that the pop up window opens in the main application - I am assuming because of the 'topLevelApplication' reference.So, I need a way to open this window in the current Air "s:Window". I am assuming I need a way to walk up : this.parent.parent or this.owner.owner - though I have tried that and it did not seem to work (it said null reference).OR, is there a way to get the current top most window / component (NOT the main application / window)?

Update:I decided to create a new project for the component, and add in the Air libraries. Now I am able to access the "NativeApplication.nativeApplication.activeWindow" call. That gives me the correct Air window. However, it does not seem to be working:

PopUpManager.addPopUp(this, NativeApplication.nativeApplication.activeWindow as DisplayObject);

My popup does not appear. I am assuming because "activeWindow" is not actually a DisplayObject?(so how do I get the DisplayObject if that's the case?)

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

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.

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


View 5 Replies

ActionScript 3.0 :: Dynamically Add Column To Data Grid?

May 12, 2011

How dynamically add column contains checkbox to datagrid?[code]...

View 1 Replies

Actionscript 3 :: Calculating Column And Row Number In An Isometric Rectangular Shaped Grid

Jul 1, 2011

I'm trying to extend an isometric Flash game based on as3isolib. The game does only support diamond shaped grids but I have to implement the possibility to have rectangular shaped grids, too.


View 1 Replies

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:


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

Flex :: Get Column Index Of Header Column In AdvancedDataGrid?

Mar 9, 2010

I want to know column index of header in AdvancedDataGrid when a user clicks on header - either left click or right click.

View 1 Replies

Flex :: Drag And Drop Column Data To Another Column?

Jan 29, 2011

In Flex, using AdvancedDataGrid, I'm trying to achieve a drag and drop of one row's column data to another row's column or the same row but different column. Is this even possible? I've been googling for hours and all I can find are drag and drop whole columns just to rearrange their view order.

View 1 Replies

Flex :: ArrayCollection Wrapper Allowing Binding Mechanism To See Changes?

Jul 26, 2011

I have an ArrayCollection containing bindable objects. I would like to access them in multiple places like below (there's only one label for clarity). How can I achieve that?hould I write some kind of wrapper for ArrayCollection dispatching special event (which?) catchable by Flex event mechanism.

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


View 2 Replies

Css :: Disable Flex Type Selector Warning?

Sep 30, 2009

I'm building a somewhat large Flex project that includes several modules (a single Flex project that produces multiple SWFs)

Right now, I have a single css file, being loaded in the main SWF tag:

<s:Application ... >
<fx:Style source="css/main.css" />


And repeat for Button, TextArea, etc etc. I have so many useless warnings, it is impossible to see if there are any valid ones.

Is this warning caused by something I'm doing wrong? The styles are all being applied correctly and appears to work just the way I want at runtime.

NOTE: I've tried the -show-unused-type-selector-warnings=false compiler flag, and it does not work...that's for a similar but different warning.

View 6 Replies

Flex :: Changing Css Properties For Selector At Runtime?

Oct 27, 2009

I have a css that defines de skin-class for a custom component, like this :

view|PlaceHolderView {

Is there a way to change that value at runtime, so that all instances of the component switch skin?

View 1 Replies

Flex :: Make A DataGrid Component With Some Mechanism Where The User Can Toggle The Visibility Of The Columns?

Jan 5, 2011

I'm trying to make a Flex (Advanced)DataGrid component with some mechanism where the user can toggle the visibility of the columns. I've crudely implemented this by reading in the columns into the right-click menu, and when a column name is selected here, the visibility is toggled. It works, but it's not the most elegant solution.Specifically, I'm trying to emulate the "datagrid" that Mozilla Thunderbird uses to display emails. Here is an image:

In the upper right, there is an icon over the scroll bar. If there is no scrollbar, the icon remains in the same place. When clicking the icon, it opens up a menu that shows all the possible columns, with the visible ones having a check mark next to them, like this:

Also, the scroll bar always appears under this button, never "pushing" it over into it's own column.I'd like to re-create this in Flex. I believe the menu part and creating a column with a button headerRenderer is easy enough. But I can't figure out how (if at all possible) to do this with the scrollbar, because the scrollbar always seems to be "its own column".

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 :: Resizable Grid Row And Grid Item

Sep 24, 2009

I have a mx:Grid component in my flex application. But I would like to resize it by clicking and dragging in the border. This component doesn't allow doing that.I want to put a panel in each gridItem of this Grid component and resize it.

View 1 Replies

Flex :: Invalidation Mechanism - What Does "next Screen Update" Mean

Sep 9, 2010

Adobe help document said, "When a component calls an invalidation method, it signals to Flex that the component must be updated. When multiple components call invalidation methods, Flex coordinates updates so that they all occur together during the next screen update."


View 1 Replies

Use Any IPC Mechanism For Calling A C++ Api From Adobe Flash?

Sep 10, 2010

Is it possible to use any IPC mechanism for calling a c++ api from Adobe Flash actionscript? Are there any good examples?

Update: I primarily want it for desktop apps now i.e Adobe's/or anyuone else's desktop runtimes

View 6 Replies

ActionScript 2.0 :: Complicated Loading / Unload Mechanism

Dec 19, 2006

How can I accomplish complicated loading and unloading mechanism? for example section number one is divided into the blocks. so when you hit the menu button, section is loading by parts...left part, after that center part and then right. when you press next menu button, first of all this section is unloading... center part, then right part, then left part and after that section number two begin to load in a different manner. so question is how can i control that? for loading and unloading i have got functions load_main() unload_main() load_contacts() unload_contacts()

View 5 Replies

Flex :: "Type DataGrid In CSS Selector 'DataGrid' Must Be Qualified With A Namespace" - Warning

Feb 4, 2010

I am attempting to style the headers in a flex datagrid and I keep getting the warning:

Type DataGrid in CSS selector 'DataGrid' must be qualified with a namespace

What does this mean? I have gone through a bunch of tutorials and none of them have worked. It seems like changing a the colors in a datagrid should be relatively simple.

Here is a code sample:

fontWeight: "bold";


View 3 Replies

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