Actionscript 3 :: Make A Spark Datagrid ColumnSeparator Render Before A RowSeparator?

Sep 25, 2011

I have a black row separator and a grey column separator, but because the row separator gets rendered first, the column separator appears over the top of it, causing what appears to be breaks in the row separator. Is there any way to change the order these are rendered to prevent this?

View 1 Replies


Similar Posts:


Actionscript 3 :: Make A Spark DataGrid Grow Horizontally To Fully Render All The Columns?

Oct 28, 2011

I've set a DataGrid to display all the rows in the data provider by binding it to the height of the control.Now that all rows are rendered, I want the DataGrid to grow horizontally so that every column renders the whole text (of Labels).Is there a way of doing this without resorting to a typical object?

View 1 Replies

Actionscript 3 :: Datagrid Cell Render With Custom Component?

Jan 6, 2010

A few hours ago I've asked how to create a custom component (textInput and label component and created a Component Definition) and with your answers I can do that now.

Problem 2: I'd like to use that component in a datagrid column so that the user can type a value in the textInput which will in turn update the underlying dataprovider. I know I should use a cellrenderer like I've done with a checkbox column

View 1 Replies

Flex :: Get The DataGrid To Re-render The Visible Items So That The LabelFunction Will Be Run Again To Get The New Data?

Mar 30, 2011

I have a DataGrid where some number of the columns can have a labelFunction. The nature of the labelFunction result can change problematically(eg apply formatting,bypass formatting. How do I get the DataGrid to re-render the visible items so that the labelFunction will be run again to get the new data.I've tried the invalidateDisplayList, validateNow, and tried dispatching ResizeEvents on the DataGrid.

View 1 Replies

Remove Header From A Spark DataGrid?

Sep 2, 2011

How do you remove the header row from a Spark DataGrid? MX DataGrid had the attribute "showHeaders" but this doesn't seem to be present in the Spark DataGrid.

This seems like it should be a very easy task, so either I'm extremely dense or just missing something? Do I have to create a custom skin for my DataGrid and remove the header parts? That seems like overkill or is it the Flex / Spark way?

View 1 Replies

Flex :: Spark's DataGrid CalculateDropIndex Equivalent?

Mar 10, 2011

Is there any function (or any easy way to implement it) equivalent to calculateDropIndex for spark's DataGrid?

(using Flex Hero 4.5.0.19786)

View 1 Replies

Flash :: Display Date In A Spark DataGrid?

May 20, 2011

I have a Datagrid that gets its data from an ArrayCollection of model "beans". The ArrayCollection Outcomes is a list of Outcome

[Code]...

View 2 Replies

Flex :: Spark DataGrid Cell Click?

Jun 18, 2011

I am searching for something like CellClick event on Spark DataGrid, or something alike.

Is there something like this in Flex 4.5, and how to get the data from the clicked cell ?

View 1 Replies

Flex :: Disabling Few Rows In Spark Datagrid?

Sep 1, 2011

Is there a way in spark datagrid to disable some rows programmatically, in flex 3, it could be done using the function mouseEventToItemRenderer this way:

override protected function mouseEventToItemRenderer (
event: MouseEvent): IListItemRenderer {
var listItem: IListItemRenderer;// = super.mouseEventToItemRenderer(event);

[Code]....

And then I implement the function disabledRow to return true or false depending on some condition, the condition that will specify if the selected item will be renderered or not. Is there a way in spark datagrid to do the same?

View 2 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 :: RendererAdd Function For Spark DataGrid?

Sep 23, 2011

Like we have rendererAdd function/hook for a Spark List which is dispatched when an itemrenderer is added to the container? Do we have any similar method/hook at DataGrid level also?

View 1 Replies

Actionscript 3 :: Spark Datagrid - Text Goes Over Other Columns?

Nov 18, 2011

I have a spark Datagrid with lot of columns. The problem is that if i have a long text in a cell, then the text goes over other columns. I want the text to stay in it cell, if it longer than the columns width, then the text to be truncated somehow.

View 1 Replies

Flex :: Spark DataGrid Alternative Row Color Changes?

Nov 19, 2011

How to Set alternat Row Color In Flex 4.5 MobileApplication For Spark Data Grid. The Main Problem Of SparkDataGrid in Mobile Application not Allowed to Add Skin.

View 2 Replies

Flex - Spark Datagrid Editor - Numbers Only?

Jan 14, 2012

I want a spark datagrid that allow a user to input numbers only. They can only input number with up to 5 decimal places. I am struggling with this in Spark. I can do it in Flex by using the itemEditEnd parameter of the MX DataGrid.

How do I do this is Spark? Any pointers would be great.

View 1 Replies

Flex :: How To Get ItemDoubleClick Event In Spark DataGrid

Mar 7, 2012

Recently I am working with Spark DataGrid. Before I was using AdvancedDataGrid. In that I was capturing itemDoubleClick event. But I am not able to find such a event in SparkdataGrid. So I want to capture double click event on single row of DataGrid. Some people told that, I have to use my custom ItemRenderer to do that. But is there any way to capture itemDoubleClick event in Spark DataGrid without creating custom ItemRenderer ???

View 1 Replies

Flex :: Move/reorder Columns In A Spark DataGrid?

Apr 6, 2012

I am unable to find if the spark DataGrid supports moving / reordering the columns. If not what could be the best solution? Maybe using the mx version?

I want the user to be able to drag the columns and arrange them.

View 2 Replies

Flex :: Spark Datagrid With Checkbox Does Not Update Correctly?

May 26, 2011

The checkboxes are updated correctly when I select one or more datagrid rows but when I select a checkbox for the first time the checkbox does not refresh until the pointer moves out of the datagrid row. How can I fix this?

[Code]...

View 3 Replies

Flex :: Set The Selection Border Color In Spark Datagrid

Jun 29, 2011

I have a custom skin applied to a Flex 4 spark datagrid. One really annoying issue I am having is finding the ability to override or change the selected row border color. I was able to set the selectionColor just fine but the border is still the default light blue color. I need it to be yellow.

Anyone know where I can find this style or override this border that is being set when selection happens within the skin itself.

View 2 Replies

Flex :: Transparent Background On Spark DataGrid Headers?

Jul 14, 2011

I almost got it, but the part that's giving me trouble is making the header background transparent. I am making a custom MXML skin based on the default Spark DataGrid skin. I tried setting the contentBackgroundAlpha to 0 on the columnHeaderGroup and the headerRenderer, but that didn't work. I tried setting visible to false for either of those, but that made it so that the text didn't show up either, so that didn't work. There is no setting for backgroundAlpha in either of those two, so I'm not sure what else to try.

View 2 Replies

Flex :: Programmatically Set Edited Cell On Spark Datagrid?

Jul 24, 2011

What is the equivalent of editedItemPosition for the Spark datagrid?

View 1 Replies

Control A Spark Datagrid's Scroller Position In Flex?

Aug 22, 2011

I'm using the new Spark Datagrid for a project, but I must confess the scroller is annoying me a little bit, so I would like to have some control over it.

View 1 Replies

Actionscript 3 :: Flex 4.5: Spark DataGrid With Custom ItemRenderes

Jan 31, 2012

Firstly sorry for the really lengthy question. I am trying to implement an Org.Chart using spark DataGrid. The data for the Org.Chart does not change and hence I am hard coding the values. I had to implement this Org.Chart as I need to have floating Nodes and also the connecting lines should be drawn a bit different when compared to using an external component. Please find the following image of which Im trying to achieve: Here is the idea:

[Code]...

View 1 Replies

Actionscript :: Vertically Align Text In Spark DataGrid Row

Feb 21, 2012

I would like to make the height of my DataGrid rows a bit larger than the default. The problem is that the text is vertically align to the top of the row. I would like to vertically align it to the middle of the row.

Is there a way of doing that via CSS or Skinning in Flex 4.6? note that I am using a Spark DataGrid and not an MX version.

View 1 Replies

Flex :: Sorting - 4.5 Spark Datagrid Multi-column Sort?

May 9, 2011

does anyboy know if Flex 4.5 Spark Datagrid suppoprts multi-column sort natively - just like the ADG does?

View 2 Replies

Flex :: Spark Datagrid Memory Usage With Dynamic Columns?

Jun 4, 2011

I have a question about the Spark DataGrid and how it works in terms of garbage collection. What I'm finding is that if I dynamically add and remove columns from the DataGrid at runtime, the GridColumns and ItemRenderers never get freed from memory.

For instance, if I have a list with 10 items and I create 10 columns, there will be 100 ItemRenderers and 10 GridColumns. If I remove all of the columns, they are still there.

[Code]...

View 2 Replies

Flex :: Spark Datagrid Fixed Column, Horizontal Scrolling?

Jul 11, 2011

How can I make my datagrid have its first column fixed and scroll the reset horizontally and vertically?

View 1 Replies

Flex :: Scale A Spark DataGrid With Fixed RowCount & No Scollers?

Nov 1, 2011

I am trying to find a way to Scale (either font or scaleX&Y) a DataGrid (with equestedMinRowCount = requestedMaxRowCount = requestedRowCount = dataProviderLength), so that it would Always show all the Rows (so no scrollers).Solution I came up with for Scaling is:

protected function thisDatagrid_resizeHandler(event:ResizeEvent):void
{
if (event.oldWidth < this.width) {

[code]......

View 2 Replies

Flex :: User Interface - Spark Datagrid And Word Wrapping

Nov 18, 2011

I would like to have a spark datagrid that wordwraps all rows where relevant. At the moment it appears like the width of a cell is dependent on the contents of the first row and then subsequent rows are word wrapped. For example:

[Code].....

How can I get the datagrid to dynamically resize to 100% of the container width and for wordwrapping to happen on all rows? (not just rows after row 1)

View 1 Replies

Actionscript 3 :: Get Column Index In Custom Itemrenderer For Spark Datagrid

Jan 16, 2012

I am trying to use the same custom renderer for all the columns in a spark DataGrid. I need to know the dataField or columnIndex based on which I can change state in my custom itemrenderer.

Earlier in mx:DataGrid, this can be achieved by extending the MXDataGridItemRenderer which implements IDropInListItemRenderer and hence dataGridListData property is available.

But using the spark DataGrid, I am extending the GridItemRenderer which DOES NOT implement the IDropInListItemRenderer and hence unable to access dataGridListData property. I have tried to write an action script class extending GridItemRenderer and implementing dataGridListData but flex throws an error in the set function of this variable.

// Sample itemRenderer used for mx:DataGrid [Working Code]
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;

[Code]....

View 1 Replies

Flash :: Check Spark DataGrid Cells' Contents Programmatically?

Jan 24, 2012

I'm using the Spark DataGrid for the first time and finding it generally very usable.There's something I'd like to do with the contents of my grid now that I've drawn it though and I'm a bit stuck as how to proceed.I'd like to make a function that runs through each cell of a certain column in the DataGrid, that checks each value against an Array of predefined values; if it finds a match, it should then highlight the cell as conflicting, by changing its colour.I know you can access a particular cell's item renderer, by using the getItemRendererAt() function, and passing the column and row indices. But I can't see how I would, for example, loop through the values in each column

View 2 Replies







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