Flex :: Remove The Highlight/selection On AdvancedDataGrid

Jul 3, 2010

This page describes how to override the drawHighlightIndicator/drawSelectionIndicators methods for the header of a DataGrid, but an AdvancedDataGrid does not have "headerClass" in mx_internal. It instead has an headerRenderer.

How can I remove those blasted highlights over an AdvancedDataGrid in Flex 3?

View 2 Replies


Similar Posts:


Flex :: AdvancedDataGrid Multiple Cell Selection Highlight Not Fully Clearing

Sep 23, 2010

I've two problems, the second of which is only an issue because it's a possible way to fix the first! I'm developing a Flex 4.1 application, using a Spark theme: I can't change these; Halo isn't an option. It's providing the facility to fill multiple-selected cells of an AdvancedDataGrid with a single character, from a single keypress. So the user selects their cells using the Shift key, hits H (for example) and sees all the cells update with H, without using an itemEditor but via grid keyDown events instead. Then they click somewhere else and the selection should clear.

However the visible selection isn't fully cleared and the newly coloured cells won't all change from their selected colour. Underneath I can verify that the selection has cleared: mygrid.selectedCells is empty. All behaviour afterwards points to some kind of display glitch with the grid: The cells aren't selected any more but they look like they are.

[Code]...

View 1 Replies

Flex :: Itemrenderer - AdvancedDataGrid And Instable Selection Of RadioButtons In Adobe ?

Mar 14, 2012

I have a problem with my AdvancedDataGrid which has inside it colums of radiobuttons.The problem is when I click on a cell in the Grid, the Radiobuttons selection become instable, some of the radio buttons of other colums become selected.The behavior I want is that when the selects the RadioButtons(the circle or its label), it become selected and not all the Cell in which the radioButton is.Here my code:

for (var idxStudio : int = 0; idxStudio < p_studios.length; idxStudio++) {
innerColumn = new AdvancedDataGridColumn();[code]....

View 1 Replies

Flex :: Remove Gap Of A Cell Inside AdvancedDataGrid

Aug 23, 2011

I created an item renderer for a advanced datagrid and decided to put color on some of the cells. However the result comes with a vertical gap between the colored cell ( you can notice a big gap of white lines between the red cells on the screenshot)

View 2 Replies

Flex :: Remove Highlight On Selected Button From ToggleButtonBar

Jun 11, 2009

Well, title explains all. I'm trying to get rid of the highlight that comes around of the selected button in a ToggleButtonBar

View 2 Replies

Header - Flex AdvancedDataGrid - Remove Sort Arrow?

Jul 16, 2010

Is it possible to completely remove the sort arrows on an AdvancedDataGrid header?

I know that you can kinda do this by using

<mx:AdvancedDataGrid sortExpertMode="true"/>

and I even tried using

[Code]...

View 2 Replies

ActionScript 2.0 :: Cannot Remove Selection With Mouse

Feb 25, 2011

I've got a very strange problem with textfield selection.[code]This happens when i load a certain swf into my main swf.When all items are created, i set the focus to the first textfield.This all works fine, now the problem is, this selects the whole text in the textfield. But when i click in the textfield to set the focus somehwhere in the middle of the text this doesn't happen.. you can see the focus disappearing, but right after it selects the whole text again.When i click another textfield, or somewhere else in the application it works fine.. it also works when i press teh arrow keys first.So in short, i cannot remove the selection with the mouse, until i remove the selection with either the keyboard or by removing the focus from the textfield first.i've tried putting a textfield off stage and putting the focus there first but to no luck there.I've also tried to use [code]I've been looking and google-ing this problem for a while now, but can't find the solution.It's not giving me a headache yet, but my boss is nagging to get the problem fixed

View 3 Replies

Flex :: Represent HTML Table Structure In Flex DataGrid Or AdvancedDataGrid?

Feb 12, 2012

I'm using Flex 4 and I need to render the data that resembles HTML Table with row span in a Flex component.My inclination was to use a DataGrid but I believe that rowSpan is not supported for that component. I looked at the AdvancedDataGrid but the user does not want to have a tree-structure in any of the columns. Looking to see if there are any hints/tips for modifying the DataGrid or AdvancedDataGrid to produce an "HTML Table with rowspan" look.

View 1 Replies

Flex :: Flex Drag And Drop Between AdvancedDataGrid With Custom ItemRenderer

Feb 26, 2011

I have implemented drag and drop between 2 AdvancedDataGrid, but the default behaviour from Flex displays the row data during the drag using the grid item renderer showing all 5 columns.

Instead, I would like to display an icon / image or my own custom item renderer during the drag and drop.

View 2 Replies

Flex :: Detect If Flex AdvancedDataGrid ItemClick Is Actually A Drag?

Sep 2, 2010

Is there any way to detect if AdvancedDataGrid itemClick event is actually caused by the user dragging? I'd like to take action on click, but ignore drag.

View 1 Replies

Flex :: How To Highlight A Text

Jul 20, 2010

In flex, how can I highlight text/label? I have text and a small image that I want to highlight.

View 1 Replies

Flex :: Datagrid Won't Highlight

Jul 19, 2011

Very bizarre issue here: For whatever reason, my datagrid will not highlight items as I roll my mouse over them. Instead, the highlight bar just remains static on the last entry in the datagrid. I know I can still select items as I have written methods that respond to the selection. [code]...

View 1 Replies

Flex :: Get AdvancedDatagrid To Display Just One Row?

Aug 5, 2009

I have an AdvancedDatagrid, whose dataProvider is an ArrayCollection that contains 1 row of displayable stuff.Flex continues to display about 6 rows, the top one filled, the rest blank.I've set the rowCount="1", with no luck.

View 3 Replies

Flex :: AdvancedDatagrid MultipleSelection?

Jun 3, 2010

after multiple Selection in a advanced datagrid, I want to check if the clicked row, was already selected. Anyway my idea below (in the nested if clause I want to check if the newly clicked item's processing data is already in the added Array Collection) is not working, but I assume there must be a better way to differiante if an click was made on a already selected row.

model.processingData = out;
if (model.selectedIndices.length > 1){
//check if item already added

[code].....

View 1 Replies

Flex :: Add Row Dynamically To AdvancedDataGrid?

Dec 14, 2010

I would like to add new row on the fly (runtime) to my AdvancedDataGrid.I can add it to the data model, but couldn't find a way to make the table render and show the new row.What i am seeking for is to create an effect of expandable item, where clicking on row will show "additional information" (like a drawer) and clicking on row expand button will reveal it's children.I saw examples of this for dataGrid (http:url...), but not for AdavancedDataGrid.Only way I found to do this is to add a new child and use openItem, but this cause the other children to be visible as well.

View 1 Replies

Flex :: AdvancedDataGrid GroupingField?

Sep 9, 2011

need my AdvancedDataGrid group by the name of the person, but I'm having trouble because the groupingField not accept "objectPeople.idPeople"

the name of the groupingField not accept "objectPeople.idPeople"?

GroupingField name="people.idPeople" <--error??

View 1 Replies

Flex 3 StringValidator Highlight Field?

Jul 3, 2009

I want to perform simple validation against multiple fields. Please note these fields are not within a mx:Form since the way they are displayed isn't the norm. The validation works properly, however, it does not highlight the textInput with the error message.

myValidator.source = empName1;
myValidator.property = "text";
if(myValidator.validate().type == ValidationResultEvent.VALID)
{

[Code]...

View 1 Replies

Flex :: Highlight The Datagrid Column?

Dec 30, 2009

How to highlight the data grid column?

View 1 Replies

Flex :: Highlight Matching Text?

Aug 14, 2010

I have flex 4 and writing my own autocomplete component (based on the popupanchor) to search for different books. In the dropdown box, how can I highlight the text that matches? For instance, a user types in "ema" and the search returns "Pet Sematary"....I want to highlight the letters "ema" within "Pet Sematary"

View 1 Replies

Flex :: Highlight Row / Line Under Cursor?

May 20, 2011

There is a TextArea, and I can find the line index via textField.getLineIndexAtPoint(event.localX, event.localY).How can I set the background color of the selected line? Sort of a row/line highlight.

View 2 Replies

Flex :: How To Set Text Highlight Color?

Aug 26, 2011

I want to set the background color or highlight color of selected text in text area in Flex as we can set highlight color of text in MS Word. And after setting this highlight color user can also edit this text without disappearing this highlight color.

View 1 Replies

Flex :: Highlight The First Item In The Tilelist?

Nov 3, 2011

I am navigating the items of tile list using next and previous button. I need to highlight the first item in the tilelist by default ( like the first item is being selected by default)

View 1 Replies

Flex :: Get Item From AdvancedDataGrid Given Index

Jul 7, 2009

I've got a subclass of AdvancedDataGrid showing a tree-like data structure. How can I, given the index returned by calculateDropIndex, get the item at that index? After reading through reams of code, it seems like the least terrible way is:

var oldSelectedIndex:int = this.selectedIndex;
var mouseOverIndex:int = this.calculateDropIndex(event);
this.selectedItem = mouseOverIndex;
var item:* = this.selectedItem;
this.selectedIndex = oldSelectedIndex;

The other option seems to be tinkering around with the iterator property... But, judging by the way I've seen it used, that will get pretty harry pretty quickly too. So, how can I get the item at a particular index in an advanced datagrid without going insane?

View 3 Replies

Flex :: ItemRenderer For TreeColumn On AdvancedDataGrid?

Apr 14, 2010

Is it possible to use a renderer for for a treecolumn in an advanceddatagrid and still keep the hierarchal functionality? If I use a renderer provider I lose the the arrow for the tree dropdown. I want to keep the tree functionality and change the display of the column.(and not just the folder image)

<mx:AdvancedDataGridRendererProvider column="{titleCol}" depth="1"
renderer="com.something.titleColumnRenderer"/>
titleColumnRenderer:

[code].....

View 2 Replies

Flex :: Execution Timeout In AdvancedDataGrid

Oct 25, 2010

I've a problem, I'm using an AdvancedDataGrid. It loads about 3000 records with about 20 columns. I constantly get Flex execution timeout because the grid executes a lot inside LayoutManager. How can I make it asyncronousely or faster at all?

View 2 Replies

Actionscript 3 :: Print AdvancedDataGrid From Flex 4

Nov 9, 2010

I have an AdvancedDataGrid and need to export it as PDF for printing. Can you suppose me some useful links or ideas on that topic?

Note : is another better sugestion that make this possible, working with Java? Need a quick response.

View 1 Replies

Flex :: AdvancedDataGrid: How To Tell How Many Rows Are Currently Visible

Mar 8, 2011

how to query an ADG (or its rows) to figure out how many rows are currently visible (i.e. not collapsed) when displaying different levels of a hierarchical collection?In other words I'd like a function that tells me that 7 lines are visible in this view and 1 line is available in this one.

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 - AdvancedDataGrid ItemRenderer Ignored W/HierarchicalData?

Jun 13, 2011

I am using an AdvancedDataGrid with some hierarchical data. In the first column, I want to indicate whether or not the "name" field is editable by graying out the text for the "name" property of my objects. It's very odd, but when I set the AdvancedDataGridColumn's dataField property to "name", and have it in the first column, it seems to completely ignore my inline ItemRenderer. If I change the dataField property to something else, or change the column ordering so the Name column isn't first, everything suddenly works.

Let me know if any more code would help, but here is the simple ItemRenderer I'm trying to use in the first column:

[Code]...

View 1 Replies

Flex :: Expand A Row Of AdvancedDataGrid Without Using HierarchicalData?

Aug 4, 2011

Expand a row of AdvancedDataGrid without using HierarchicalData?[url]...

View 2 Replies







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