[flexcoders] AdvancedDataGrid (hierarchical) custom summary row on top

2011-12-01 Thread kumar_vytla
Hi All, I have flex advanced data grid (hierarchical) with custom summary row. I have used the concept of Dynamic Advanced List (http://active.tutsplus.com/tutorials/flex/dynamic-advanced-long-lists- with-flex/

[flexcoders] AdvancedDataGrid Performance Issue

2011-08-08 Thread steveroger_flex
Hello Friends, I am using AdvancedDataGrid to represent statistical data. I am creating AdvancedDataGrid column at runtine. Also assigning renderer at runtime. (Using this Reference ) Actually performance issue occurs when number of c

[flexcoders] AdvancedDataGrid: last row disappears on click

2010-08-16 Thread charliecrystle
I'm about a 9-month Flex programmer; this issue is hampering progress and I've tested it a bunch: I have an ADG, with a 1-item ArrayCollection. Both the ADG and AC are instantiated in actionscript. The ADG displays the single row with its data--that's correct. When ADG.editable is set to "false",

[flexcoders] AdvancedDataGrid custom drawRowBackground with HierarchicalCollectionView

2010-05-25 Thread csmarvz
Hi, I have to color the nodes shown in my adg. The code below do the job but the performances insanely decrease. Any idea how to improve it please? Best regards, Henry override protected function drawRowBackground(s:Sprite, rowIndex:int,

[flexcoders] AdvancedDataGrid

2010-04-08 Thread TGI
I have an AdvancedDataGrid where I add columns dynamically, as the code show below: var colsArray:Array = []; var columnGroup:AdvancedDataGridColumnGroup; var column:AdvancedDataGridColumn; columnGroup = new AdvancedDataGridColumnGroup(); columnGroup.headerText = “Group 1”; columnGroup.

[flexcoders] AdvancedDataGrid read cells

2010-04-05 Thread TGI
In my application there is an AdvancedDataGrid where I insert rows and columns dynamically. My question seems simple but is driving me crazy: I need to read each cell of my AdvancedDataGrid (scan the AdvancedDataGrid). Remember that the structure is dynamic and I don’t know in advance how many co

[flexcoders] AdvancedDataGrid problem

2010-04-01 Thread TGI
I have an AdvancedDataGrid with 3 columns where I insert columns dynamically (after this 3 columns). After adding the columns I loop through cells to fill them. The code to insert the columns works fine. When I loop through the Grid to fill the cells after add the columns it finds only the first

[flexcoders] AdvancedDataGrid 2 Pixel Gap Between Rows

2010-02-22 Thread D
I'm really frustrated trying to eliminate the 2 pixel gap between rows. I've explored with FlexSpy, have subclassed the ADG, but can't figure out where its coming from. Does anyone have any ideas or pointers? Thanks.

[flexcoders] AdvancedDataGrid 2 Pixel Gap Between Rows

2010-02-22 Thread Daniel Swid
I'm really frustrated trying to eliminate the 2 pixel gap between rows. I've explored with FlexSpy, have subclassed the ADG, but can't figure out where its coming from. Does anyone have any ideas or pointers? Thanks.

[flexcoders] AdvancedDataGrid column sort arrow

2010-02-17 Thread s_grollins
Hi all, I need some help with a problem I'm having: Is there a way that anyone knows of to manually change the sort arrow? It seems that no matter what I do the arrow is always reversed from what the sort order is (if the sort is "descending" the arrow is "ascending"). And if there is no direct

[flexcoders] AdvancedDataGrid Grouping with XML

2010-02-12 Thread srieger_1
OK, I have made some progress on this issue but still unable to resolve it completely. It's getting embarrassing already. . . . I am trying to use some XML that I get from an application to feed an advanceddatagrid where I can group the entries. I have a demo with view source here : http

[flexcoders] AdvancedDataGrid Grouping with XML

2010-02-11 Thread srieger_1
OK, I have made some progress on this issue but still unable to resolve it completely. It's getting embarrassing already. . . . I am trying to use some XML that I get from an application to feed an advanceddatagrid where I can group the entries. you can see the xml file when viewing the sourc

[flexcoders] AdvancedDataGrid and Accessibility

2010-02-02 Thread marguerite.bergel
Hi, 2 questions regarding keyboard access for the AdvancedDataGrid control (Flex 3). We have non-editable AdvancedDataGrids where users can copy/paste data from any rows and/or cells they want. Mouse users can highlight cells/rows and right-click to copy just great. But... 1. Haven't found a

[flexcoders] AdvancedDataGrid and strongly typed objects

2010-01-12 Thread shameer.forflex
Hi All, I have a strange issue with AdvancedDatagrid. I am trying to show HierarchicalData in the AdvDataGrid. It works perfectly when I am using a generic array collection as dataprovider. But my advanceddatagrid doesn't show up data when I am using a typed array collection. Can anyone help me in

[flexcoders] AdvancedDataGrid and strongly typed objects [1 Attachment]

2010-01-12 Thread Shameer Salim
Hi All, I have a strange issue with AdvancedDatagrid. I am trying to show HierarchicalData in the AdvancedDataGrid. It works perfectly when I am using a generic array collection as dataprovider. But my advanceddatagrid doesn't show up data when I am using a typed array collection. I couldn't fin

Re: [flexcoders] AdvancedDataGrid Grouping: itemRenderer for parent

2009-10-29 Thread powers
Just want to explain here how I solved this. I set the groupItemRenderer of the ADG to render a customItemRenderer that I created. I had to implement the expand/collapse functionality that the AdvancedDataGridGroupItemRenderer takes care of by default. Rather than extend this class, the custom

Re: [flexcoders] AdvancedDataGrid Grouping: itemRenderer for parent

2009-10-28 Thread Tom McNeer
What do you actually intend to render? The ADG itself has attributes for GroupItemRenderer, GroupIconFunction and GroupLabelFunction. One of those ought to handle what you need. On Wed, Oct 28, 2009 at 3:54 PM, powers wrote: > > > > I have an advanced data grid with a dataprovider with a grouped

[flexcoders] AdvancedDataGrid Grouping: itemRenderer for parent

2009-10-28 Thread powers
I have an advanced data grid with a dataprovider with a grouped collection. The default of the ADG is to display a folder icon, along with whatever text is contained in the datafield, as the parent element. All the children are displayed with the paper icon and the text that is displayed in the

[flexcoders] advanceddatagrid

2009-10-12 Thread Joe
is it possible to header color on a column in an advanceddatagrid? I can change all of the headers but not individually. I have tried headerColors in css and styleFunction. I came across a custom skining but it only works for datagrid not advanceddatagrid. Thanks

[flexcoders] AdvancedDataGrid Groups and leafs

2009-09-24 Thread Ivan B
I'd like to display items in AdvancedDataGrid that at root level contain both grouped items and leafs (think file system). Is this possible? Regards

[flexcoders] AdvancedDataGrid itemOpen() to resize Container

2009-09-17 Thread Matthew
Hi, I have a Windowshade as a root component; the child is an AdvancedDataGrid. I want the Windowshade to scale as a user expands/collapses a row in the DataGrid. So I trap the itemOpen and itemClose events and I try to adjust the height of the Windowshade like this: this.owner.measuredHeight

[flexcoders] AdvancedDataGrid "virtual"/pivot column creation?

2009-09-11 Thread chigwell23
Not sure whether "virtual" or pivot is the right word, but the columns do not exist as columns in the returned result set, but as data. MGR PROD SOLD mgr1 beer 100.99 mgr1 rice 200.55 mgr1 soap 400.33 mgr2 beer 123.50 mgr2 rice 428.88 mgr2 soap 555.55 I wish to turn this into MGR BEER

[flexcoders] AdvancedDataGrid: expandItem()

2009-09-10 Thread fumeng5
Hi, I'm trying to expand the first row of my AdvancedDataGrid column when it is loaded with my XML data. I've found plenty of examples online that show how to do it from a click event, but nothing on init of the grid. I've tried the initialize method, the setter of my dataProvider method but th

RE: [flexcoders] AdvancedDataGrid and XML data synchronization ( dynamic datafield issue)

2009-08-10 Thread david lee
Name="DATA"> > MemberType="char"/> > MemberType="char"/> > > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [

RE: [flexcoders] AdvancedDataGrid and XML data synchronization ( dynamic datafield issue)

2009-08-07 Thread Tracy Spratt
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of david lee Sent: Monday, August 03, 2009 8:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] AdvancedDataGrid and XML data synchronization ( dynamic datafield issue) I'm making kind of editor with AdavacedDataGrid (ADG

[flexcoders] AdvancedDataGrid and XML data synchronization ( dynamic datafield issue)

2009-08-04 Thread david lee
I'm making kind of editor with AdavacedDataGrid (ADG) and TextArea. XML data in TextArea is dataProvider to ADG. So, If user change XML Data in TextArea ADG also updated. And if user change data using ADG, XML data in TextArea will be updated. If XML data is simple, this function is not so diffic

[flexcoders] AdvancedDataGrid Sorting

2009-07-31 Thread jensen.axel
When you sort in the advanceddatagrid, you get a sort order that shows up as a "1" in the datagrid header... is there anyway to get rid of that number? I dont want to see it?

[flexcoders] AdvancedDataGrid Sorting

2009-07-31 Thread jensen.axel
Is there anyway to get rid of the sort number in the AdvancedDataGrid second row... when you sort the datagrid header, it shows a number "1" then an arrow... is there anyway to get rid of it?

[flexcoders] AdvancedDataGrid GroupItemRenderer - Text disappears sometimes after Scrolling

2009-07-22 Thread tombuechler
Hi there, i've been experiencing a weird problem when using a GroupItemRenderer with an extended TextArea in it: When i just watch the ADG or scroll up and down, the GroupItemRenderer woks fine. as soon as i click on any row and continue scrolling around, the text in the GIR disappears on random

[flexcoders] AdvancedDataGrid Server Side Sorting

2009-05-22 Thread mutyonok
Hi. I have AdvancedDataGrid with server side pagination and sorting. The thing I cannot implement is showing sort triangles in datagrid headers. The only way i've found is manually listen SORT event and set collection.sort property of my dataProvider - but then when I change collection.source i

[flexcoders] AdvancedDataGrid, calling a sort on a column without a hidden header.

2009-05-19 Thread djhatrick
How do i duplicate the functionality of of sorting an advancedDatagrid without a header release event. I'd like to sort my IHierarchicalCollectionView recursively. Thanks, Patrick

[flexcoders] AdvancedDatagrid

2009-03-30 Thread lehaianh1986
Hi every body. I have a AdvancedDatagird and dataprovider from Array Collection. How to listen an event when I click to each row? I want use an event when I click left mouse, right mouse, double click,...etc My code is here but it not run var client:AdvancedDataGrid = new AdvancedDataGrid; clie

[flexcoders] AdvancedDataGrid Browser hangs

2009-02-26 Thread gireeshgiri
Hi, I have created a dynamic AdvancedDataGrid, columns on data grid is added dynamically and also uses header renders, data is attached via binding (via Model). The issue is, When the data provider is null or empty my browser hangs, If I try adding a breakpoint in my "custom header renderer"

[flexcoders] Advanceddatagrid Doubt

2009-02-25 Thread venkat eswar
I am using Advanced Datagrid. I am using three buttons. Add Task,AddSubTask,Delete Task.I am able to Add and Delete Task. I want to know how is it possible to add subtasks like tree structure.That means selecting a Task and adding Subtasks for that selected Task. For example, if i have added

[flexcoders] AdvancedDataGrid - exclude nodes in navigation

2009-02-20 Thread Richard Rodseth
Is there a simple way to use the AdvancedDataGrid with hierarchical data from XML, while excluding all but certain node types from the navigation hierarchy? For example, with the following XML, I don't want the name node showing up as a folder in the nav tree. Obviously, if name were an attribute

[flexcoders] AdvancedDatagrid static row for totals.

2009-02-03 Thread aceoohay
I have finally switched to Flex 3, and one of the reasons I have done this is to make use of the ADG. In a number of places throughout my apps I have used Alex's FooterDataGrid and it works reasonably well. I was under the impression that one of the features of the ADG was going to be static r

[flexcoders] AdvancedDataGrid itemIcons

2009-01-20 Thread Bill
What would be the best way to remove the itemIcons from the AdvancedDataGrid?

[flexcoders] AdvancedDatagrid and Lazy loading ?

2009-01-13 Thread Stephane Guyot
Hi list, i'm currently fighting with AdvancedDataGrid and Lazy Loading :-( When opening a node, sometimes it works, somtime i'm stuck with partial data rendering, it depends of the server response delay. Dispacthing CollectionEvent.RESET, sometimes solve the trouble, but i

Re: [flexcoders] AdvancedDataGrid Tree - Help Required - Urgent

2009-01-05 Thread muruga
Hi Thank you very much for your reply. Is it possible to get some sample code for this? Thanks Amy-28 wrote: > > --- In flexcoders@yahoogroups.com, muruga wrote: >> >> >> Hi >> >> I have advanceddatagrid in which i am displaying the data in Tree > structure. >> Since the data is huge a

[flexcoders] AdvancedDataGrid Tree - Help Required - Urgent

2009-01-02 Thread muruga
Hi I have advanceddatagrid in which i am displaying the data in Tree structure. Since the data is huge and it is taking lots of time to retrieve from databse, we wanted build the tree dynamically. Means initially we want to display the tree only will the parent nodes. Only when the user expands t

[flexcoders] AdvancedDataGrid: disable masking?

2008-12-05 Thread Dorian Roy
Hi, I have an AdvancedDataGrid with custom ItemRenderers. By default all itemRenderers seem to be masked according to the size of the grid. But I need to have some renderers extend beyond the boundaries of the grid. Any ideas how to control the masking? Thanks in advance, Dorian

[flexcoders] AdvancedDataGrid grouping name gets cut off if the first column is thin

2008-11-10 Thread blc187
Does anyone have any experience using AdvancedDataGrids? I would like the row that displays the folder and the grouping name to span the entire datagrid. For example, I have a data set that creates 3 groups titled Group 1, Group 2, Group 3. Each of these nodes has items underneath of it. I've

[flexcoders] AdvancedDataGrid scrollbar doesn't work correctly

2008-11-05 Thread oneworld95
Hi. I've got an advanced datagrid that shows 10 records at a time based on the technique described by Bruce Phillips here: http://www.brucephillips.name/blog/index.cfm/2006/11/16/Dynamically-Create-Chehttp://www.brucephillips.name/blog/index.cfm/2006/11/29/Paging-Using-Next--Previous-Through-Record

[flexcoders] AdvancedDataGrid not redrawing properly

2008-11-03 Thread Randy Martin
I have an AdvancedDataGrid in an application in one of the states. The first time I display it, everything is fine. If I subsequently enter another state and then redisplay the AdvancedDataGrid, it shows up with any borders or grid lines. As soon as I populate it (assign a data provider), the bo

[flexcoders] AdvancedDataGrid update problems

2008-10-31 Thread kallebertell
I'm facing a problem where an advanced data grid (adg) with a hierarchical collection (~500-1000 rows) doesn't redraw properly after sorting is applied to the underlying collection. The fun bit is that it isn't reproduceable. The occurance seems to be completely random but somehow related to sor

[flexcoders] AdvancedDataGrid: Columnspan in a single row?

2008-10-06 Thread arkona3000
Hi, Is there a way to have an ItemRenderer span two or more columns inside an AdvancedDataGrid only in one specific row? Basically I need something like this: 1| 2| 3| I span 2 cols| 3| 1| 2| 3| Thanks Dorian

[flexcoders] AdvancedDataGrid: Columnspan in a single row?

2008-10-06 Thread Dorian Roy
Hi, Is there a way to have an ItemRenderer span two or more columns inside an AdvancedDataGrid only in one specific row? Basically I need something like this: 1| 2| 3| 4 | span 3 cols| 4 | 1| 2| 3| 4 | Thanks Dorian

[flexcoders] AdvancedDataGrid - how on earth do I do something useful with it?

2008-09-21 Thread Josh McDonald
Hey guys, I'm trying to tackle what seems to me to be a pretty trivial problem, but the amount of documentation available for ADG is, well, not so good :) Here's what I want to do (I don't want folders, or expanding-collapsing rows, or little icons or any of that nonsense): ++ |

[flexcoders] AdvancedDataGrid modifying cell editability etc based on another cell's value

2008-09-19 Thread nolanathomas
Hello All, Yes I am new to this. So using an AdvancedDataGrid I would like to change the editability of, and perhaps even change the background color of all the editable fields, depending on a value in the row. The deal is in one use case not all the values are required/editable. Let me know if

[flexcoders] AdvancedDataGrid listItems problem

2008-09-16 Thread ivansebastiansurya
Hi everyone, I come across this problem where if I click on a newly created item on the data grid, I get the following error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls::AdvancedDataGridBaseEx/commitEditedItemPosition() [C:\Work\flex\dmv_automation

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-16 Thread Pan Troglodytes
Glad you got the result you were looking for. Yes, it does kind of suck that they made the sorting method so simple. The problem is that that part of the code isn't grid code, it's ICollectionView code. It winds up using SortFields, which are very unaware of any griddish concerns. It's a great

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-16 Thread DanMurray
Hi Jason, I think I have this working as required now with just the one sort method used by every column (I think this is OK as I have multi-column sorting turned off). I have moved the createColumns() method onto the MyAdvancedDataGrid class and added the following to that class: // map of col

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-16 Thread DanMurray
Hi no problem! Thanks again for the helpful reply. I am a bit clueless about this and so I can't work out how to access the column object within the sort method. All my coding is within actionscript classes and what I have is a View component that contains multiple AdvancedDataGrids. They are cre

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-15 Thread Pan Troglodytes
Sorry Dan, my brain must not have been fully in gear. You do need to check the columns sort order: if (obj1.summaryRow) return col1.sortDescending ? -1 : 1 else if (obj2.summaryRow) return col1.sortDescending ? 1 : -1 else if (obj1.value < obj2.value)

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-15 Thread DanMurray
Hi Jason, Thanks for the reply and the suggestion. However I don't think this deals with the ascending and descending sort cases does it? I changed your example slightly so that if (obj1.summaryRow) return 1 else if (obj2.summaryRow) return -1 i.e. the signs are reversed.

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-13 Thread Pan Troglodytes
Yes, it's fairly easy to do with a custom sort function. Here is an example function that assumes you set a "summaryRow" property on the last row object: private function compareWithSummary(obj1:Object, obj2:Object):int { if (obj1.summaryRow) return -1 else if (obj2.summaryRow)

[flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-12 Thread DanMurray
Hi, I have an AdvancedDataGrid where the last row contains some summary information about the data (number of rows, totals for some of the columns above). I would like to exclude this last row from the sort operations i.e. always show it last - is there any way to achieve this with custom sorting

[flexcoders] AdvancedDataGrid::showRoot=false does not when the root node has no children

2008-08-29 Thread tungchau81
Hi everybody, I found out that setting HierarchicalCollectionView.showRoot = false does not work when my root node has not child node. I used AdvancedDataGrid. Does any body know how to work around this? Any help is greatly appreciated. Regards, Tung Chau

[flexcoders] AdvancedDataGrid changing background color of Group Headers

2008-08-27 Thread anandvardhan.flex
I need to access the first row of each group in AdvancedDataGrid, and change its background color. is there any way to do it. I found one way accessing the column using GroupItemRenderer but it only controls the column which groups the grid.

[flexcoders] AdvancedDataGrid - Grouping Question

2008-08-19 Thread Rafael Faria
Ok, sorry about my last post, it was really my fault. But i hope that someone help me with this. I have the following Array Collection ArrayCollection - ITEM 1 - field1 = "laljlajdk"; - field2 = "kaskljsad"; - field3 = "jaskjdlkaskld" - field4 = (Object) - object1

[flexcoders] AdvancedDataGrid itemRenderer focus

2008-08-15 Thread Nacho Glinsek
Hi, I have a problem with the focus behavior in the advancedDataGrid with a custom itemrenderer that is also an itemEditor. I have rows with variable height and itemrenderers that depending on the state of the object must be editable. The focus is working strange. I am overriding the DrawFocus()

[flexcoders] AdvancedDataGrid - help displaying custom data objects

2008-08-14 Thread cwicky99
I have two classes (shown below) and I think the AdvancedDataGrid can display it properly. Basically there can be EmployeeGroups inside of EmployeeGroups..nested as much as you want. Each group also contains Employees. I'd like to display these columns:Name (of group/employee) | Dept (of employee)

[flexcoders] AdvancedDataGrid change notifications

2008-08-12 Thread rmarples
Hi folks, Does anybody know of a straight-forward way of being notified when an item within my AdvancedDataGrid has been edited? I am currently not using a custom item renderer or item editor. I want to know what's been changed so I can send updates to my server to commit changes to the database.

[flexcoders] AdvancedDataGrid | totals | Hierachicalata

2008-08-01 Thread Rajan Jain
Hi Is tag  inside can be used with HierarchicalData only? I don't have HierarchicalData  and i want to show the totals in the grid. I have the xml in the format. But if i use the piece of code at bottom end  then render is never executed. Can anybody explain me why is this hapening

Re: [flexcoders] AdvancedDataGrid: Disable Dragging Columns

2008-07-31 Thread Tom Chiverton
On Wednesday 30 Jul 2008, Paul Whitelock wrote: > However, I don't seem to see any trace of the "dragEnabled" property > for AdvancedDataGridColumn. I'm probably just missing something > obvious, so can someone point me in the right direction? Thanks! Please comment the documentation, and this wil

[flexcoders] AdvancedDataGrid: Disable Dragging Columns

2008-07-30 Thread Paul Whitelock
In the Adobe documentation it says the following about disabling the ability to re-arrange columns by dragging: "To disable dragging of all columns in a group, set the AdvancedDataGridColumnGroup.childrenDragEnabled property to false. To disable dragging for a single column, set the AdvancedDataGr

Re: [flexcoders] AdvancedDataGrid: Making certain rows unselectable

2008-07-30 Thread Tom Chiverton
On Monday 28 Jul 2008, whatabrain wrote: > I would like to make an AdvancedDataGrid where the rows with a depth of > 0 (or a particular RendererProvider, if you prefer), have no select Could your click handler unset the row ? -- Tom Chiverton

[flexcoders] AdvancedDataGrid: Making certain rows unselectable

2008-07-28 Thread whatabrain
I would like to make an AdvancedDataGrid where the rows with a depth of 0 (or a particular RendererProvider, if you prefer), have no select color. That is, you can click on them and activate click events, but they never turn blue. How do I do this? Thanks

[flexcoders] AdvancedDataGrid layout problem

2008-07-25 Thread whatabrain
I'm having trouble laying out my AdvancedDataGrid. I would like to have a tree with a depth of 1 (a root node only contains leaf nodes). The rootnode is just the expand/collapse icon, followed by a name. The leaf nodes have several columns, the first few of which are very narrow. Basically, I w

[flexcoders] AdvancedDataGrid + printing issue

2008-07-21 Thread Kuldeep Atil
Hi All, Is there any way(method) by which we can get the expanded nodes of advanceddatagrid while printing irrespective of the current (expanded) state of advanceddatagrid. i.e. lets say i a collapsed ADG but when i click print button the printed ADG must have all the nodes expanded without re

[flexcoders] advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread hworke
Hi, in a advanceddatagrid I need to put same background color if the the cell value is not empty string. In the itemrenderer all I need to check is if the current column value is null or not. I know how to refer a value of the data object in the itemrenderer like: data.whateverParam

[flexcoders] AdvancedDataGrid with GroupingCollection Expand on Refresh

2008-07-09 Thread gjessup1
I have a GroupingCollection whose source is an ArrayCollection. Then have an advanced datagrid who's dataprovider is the GroupingCollection. This gives me the expand collapse. The ArrayCollection is populated by a real time event which fires every (x) seconds. At that point I do a gc.refresh(true

[flexcoders] AdvancedDataGrid rowCount

2008-07-07 Thread Amy
Hi, all; I open all the nodes on my ADG when it is created. I'd like to make sure there are enough rows to show all the items without scroll bars. If I bind rowCount to myADG.dataProvider.length, it gives me enough rows to show the _closed_ nodes. I also tried myADG.dataProvideropenNodes().

[flexcoders] AdvancedDataGrid grouping with different depths

2008-07-06 Thread rueter007
Hi, I have the following dataprovider for an ADG. [Bindable] private var dpFlat:ArrayCollection = new ArrayCollection([ {Region:"Southwest", State:"Arizona", Title:"Barbara Jennings", Actual:38865, Estimate:4},

[flexcoders] AdvancedDataGrid scrolling

2008-07-03 Thread michal.sustr
Hi, is there a way how to enable AdvancedDataGrid scrolling not on rows, but on parts of rows? If some rows are too long (and others short), you can see "jumping" which is not very pleasant and is quite confusing. Sometimes it is even not possible to scroll down to last row.

[flexcoders] AdvancedDataGrid GroupingCollection

2008-06-24 Thread Andreas Santoro
Hi, I have a component with an AdvancedDataGrid inside witch have a GroupingCollection. I Add this with PopupManager to the Screen. The first time i add it, everything is working, but if i remove the popup and ad id again with the PopupManager to the Screen, i can see the Data, but the grouping

[flexcoders] AdvancedDataGrid ItemRenderer

2008-06-10 Thread securenetfreedom
I am using an ADG with HierarchicalData to group my data. I am using a checkbox item renderer that the user can check to archive the row. However, the checkbox is diplaying on every row and I need it to display only on the sub-set like below: Group | Archive | Title | Group1 --|-- chk --| Tra

[flexcoders] AdvancedDataGrid (DataGrid) Change cell editability at run time

2008-06-09 Thread gene_belor
Hi, I think the way AdvancedDataGrid (DataGrid) allows cells to be editable through AdvancedDataGridColumn (DataGridColumn)'s editable property is restrictive because the property works on the whole column I was wondering what is the best approach for dynamically changing whether a cell is editab

[flexcoders] AdvancedDatagrid, AdvancedDataGridRendererProvider and xml HierarchicalData

2008-06-05 Thread y.mauron
Hi all, I have a datagrid that displays HierarchicalDat from a xml file. My xml looks like that : I would like to apply an item renderer to the subtags of tag1. I tried the following but it fails to produce the desired effect...

[flexcoders] AdvancedDataGrid: turning renderer into editor

2008-05-16 Thread rmarples
Hi all - Anybody know from within an item renderer how to tell the AdvancedDataGrid to switch to the item editor for that cell? I tried the createItemEditor method but it doesn't seem to do it. Any ideas? Ryan

[flexcoders] AdvancedDataGrid DefaultDataDescriptor

2008-05-14 Thread Giles Roadnight
Hi I'm using an advanced datagrid to display xml data in a tree. I want some node types to be expandable and other node types not expandable. For the tree control I just extend the defaultDataDescriptor class. Is there a similar method for the AdvancedDataGrid? I am using the hierachicalData cla

[flexcoders] AdvancedDataGrid custom cell renderer problem

2008-05-13 Thread thomas nordahl
Hi I have a huge problem. I am making a type of a ganttChart and im trying to do it like this. I get an Array from server containind calendar data. then i get a array from server containing info about projects. then I create an Advanced datagrid and compare the two arrays and if there is a mach

RE: [flexcoders] AdvancedDataGrid doesn't update with real data?

2008-05-07 Thread Gregor Kiddie
ECTED] On Behalf Of markflex2007 Sent: 06 May 2008 18:17 To: flexcoders@yahoogroups.com Subject: [flexcoders] AdvancedDataGrid doesn't update with real data? Hi, I am working with cairngorm with Flex 3. I use Datagrid before in the page and it works fine.The Datagrid automatically update

[flexcoders] AdvancedDataGrid doesn't update with real data?

2008-05-06 Thread markflex2007
Hi, I am working with cairngorm with Flex 3. I use Datagrid before in the page and it works fine.The Datagrid automatically update when the data updated in database. ...

[flexcoders] AdvancedDataGrid group feature?

2008-05-05 Thread markflex2007
Hi, I did a AdvancedDataGrid without group,it works fine. But it shows nothing with group feature. I check the syntax but it seems ok. do you know why this happen. Thanks

[flexcoders] AdvancedDataGrid (focus?) problem

2008-05-02 Thread kummallinen_puu
I'm having some weird issues with ADG that seem to be somehow focus related. In some cases ADG will open editor for the last edited cell even though the editing has been stopped earlier. This can be reproduced in the example program (which can be found from the end of this message) by following th

[flexcoders] AdvancedDataGrid with Grouping + Refresh - possible to keep some rows folded?

2008-04-14 Thread qweerpugzer
Hi all, I'm trying to have an AdvancedDataGrid using a GroupingCollection that has a certain number of rows that get grouped by a column called "GROUP_NAME". I set a Timer() and call a refresh on the XML every 5 seconds or so (it's provided by WebORB through AMF). I want to remember which rows

[flexcoders] AdvancedDataGrid performance poll

2008-04-07 Thread sreeni_r
Hi, I am conducting two performance polls for AdvancedDataGrid. If you don't mind spending a minute and provide valuable feedback please visit http://flexpearls.blogspot.com/2008/03/datechooser-with-support-for.html Thanks! Sreenivas

[flexcoders] AdvancedDataGrid example

2008-03-05 Thread Daniel Nelson
HI, I am trying to layout some data using the AdvancedDataGrid, but having a hell of a time getting it to look right. Attached is a mockup of what I want the grid to look like. Maybe someone can provide a small sample of how to achieve this with the AdvancedDataGrid. -Dan <>

[flexcoders] AdvancedDataGrid - selecting a cell

2008-03-04 Thread markgoldin_2000
I am having a problem with ADG. It has 3 columns. I am dynamically adding records to it when a user moves a cursor from a cell down. I see that when I move a mouse over third column in some records (at least in one in my testing) the row does not change its border and the cell does not accept t

[flexcoders] AdvancedDataGrid group filtering & openNode

2008-03-02 Thread Adnan Doric
Hello guys, I'm trying to filter my ADG without success : I created a GroupingCollection from a flat ArrayCollection. ADG's dataProvider is GroupingCollection. First issue : refresh if I filter the underlaying ArrayCollection, the related groupingCollection doesn't refresh automatically (bug? f

[flexcoders] AdvancedDataGrid horizontal scroll position

2008-03-01 Thread superabe superabe
Is there a way to convert the horizontalScrollPosition property of the ADG into pixel coordinates? It currently seems to be returning the columnIndex ? TIA -superabe

Re: [flexcoders] AdvancedDataGrid & ItemRenderer

2008-02-14 Thread Scott Melby
I usually do this by handling the dragEnter, dragOver etc. events of the AdvancedDataGrid itself. In the processing I determine which item is being dragged over via the event properties. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com loc_tran106 wrote: I

[flexcoders] AdvancedDataGrid & ItemRenderer

2008-02-14 Thread loc_tran106
I have an adg that contains hierarchal data from an xmllist. What is the correct class to extend so that I can listen in on dragevents? The below class doesn't fire on nodes with children :( Thanks guys... -L package classes { import mx.controls.advancedDataGridClasses.AdvancedDataGrid

Re: [flexcoders] AdvancedDataGrid Transparent Header

2008-02-13 Thread Fumitada Hattori
or Flex 2 maybe this will help > http://labs.adobe.com/wiki/index.php/Flex_3:Backwards_Compatibility_Flag > > ignore my email. > > - Original Message > From: Sherif Abdou <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Wednesday, February 13, 2008

Re: [flexcoders] AdvancedDataGrid Transparent Header

2008-02-13 Thread Sherif Abdou
ct: Re: [flexcoders] AdvancedDataGrid Transparent Header see if this does anything, for some reason the drawHeaderBackgroun d function doesnt really override anything. it is just stranded out there, the one you need to override is the one in the DataGridHeader but i have no clue how you would get

Re: [flexcoders] AdvancedDataGrid Transparent Header

2008-02-13 Thread Sherif Abdou
cSkin"/> - Original Message From: Fumitada Hattori <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Wednesday, February 13, 2008 12:28:30 PM Subject: [flexcoders] AdvancedDataGrid Transparent Header Hi guys, I'm having a problem on making AdvancedDataGrid&

[flexcoders] AdvancedDataGrid Transparent Header

2008-02-13 Thread Fumitada Hattori
Hi guys, I'm having a problem on making AdvancedDataGrid's header transparent. I tried eveything what I can think of such as setting the alpha value of AdvancedDataGrid's headerInfo.headerItem to 0, overriding AdvancedDataGrid's drawHeaderBackground function, but no luck...I couldn't make it. Doe

Re: [flexcoders] AdvancedDataGrid - Changing the background color on a row.

2008-02-12 Thread Sherif Abdou
http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component - Original Message From: Dominic Pazula <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 7:08:20 AM Subject: [flexcoders] AdvancedDataGrid - Changing the back

[flexcoders] AdvancedDataGrid - Changing the background color on a row.

2008-02-12 Thread Dominic Pazula
I thought this would be easy to do, but I have been banging my head on it for a while. I'm wanting to let the user "mark" rows as they scroll through the ADG. I created a function myRowStyle and set styleFunction="myRowStyle". What I cannot figure out is how to change the background color o

  1   2   >