[flexcoders] Advanced Data Grid + ILOG
I have been working on a project that has several thousand items populating an Advanced Data Grid (ADG). Transmitting the data via AMF is lighting quick but it all really goes to waste once it hits the ADG. I looked online and found this bug with this work around. http://bugs.adobe.com/jira/browse/FLEXDMV-1964 Notice how the bug is closed, however, when using the latest version of the SDK the ADG still blows chunks. It's very frustrating when a bug is closed without proper validation. I have noticed this happen several times on the adobe jira site. I would implement the work around but ILog has a direct dependency on the ADG. Any ideas would be greatly appreciated!
[flexcoders] Advanced Data grid Sorting Question
I have implemented a Data grid from Action Script . I have enabled sorting on the collumn headers . Now there is a requirement that on certian rows I have custom values say XXX something. 2 Questions 1. Is it possible that I tell the datagrid to ingore those rows while sorting . 2. if yes , then when i have sort ordrer done , the custom row should be in the same row position as it was before sorting .
[flexcoders] Advanced Data grid Row Color using Action Script .
I am building an advancedDataGrid from Action script completely. I have the Data grid up and running . There is a requirement which says I need to Show Summary rows within the data grid in a differemt Color . What I am doing is based on the data of the xml I want to draw it in different colors or say make it bold . Can anyone help me in this regard . Since i am building it from Action Script completely . I dont know how to set the bg color . This is my Code . Kindly help me folks . var dg:AdvancedDataGrid = new AdvancedDataGrid ; //instantiate a new DataGrid var dgc:AdvancedDataGridColumn; var aColumnsNew:Array = dg.columns var iTotalDGWidth:int = 0; for (var i:int=0;iaColumnDef.length;i++) { //loop over the column definition array oColumnDef = aColumnDef[i]; dgc = new AdvancedDataGridColumn(); //instantiate a new DataGridColumn dgc.dataField = oColumnDef.dataField;//start setting the properties from the column def array dgc.width = oColumnDef.width; iTotalDGWidth += dgc.width; //add up the column widths dgc.editable = oColumnDef.editable; dgc.sortable = oColumnDef.sortable dgc.visible = oColumnDef.visible; dgc.wordWrap = oColumnDef.wordWrap; aColumnsNew.push(dgc) the new dataGridColumn onto the array } dg.columns =aColumnsNew; the array back to the dtaGrid dg.width = iTotalDGWidth; dg.dataProvider = _xlcCatalog; this.addChild(dg);
[flexcoders] Advanced Data Grid - A working Demo for LockedRowCount property needed
Hi all, Is there any working demo example in Flex 3, of a AdvancedDataGrid with LockedRowCount property set and capable of demonstrating its functionality? Any help will be greatly appreciated. Thanks in advance George
[flexcoders] Advanced Data grid
Hi All, Could anyone please explain the significance of having a column separator sort of an image apart from the actual column separator skin in the header of the advanced data grid. I have tried to disable it without any success. Please let me know as to how to disable it. pls see the attached image... Thanks in advance Rithika attachment: advDG_edited.GIF
[flexcoders] Advanced Data Grid - LockedRowCount property
Is there actual evidence that this property lockedRowCount actually exists (or has any effect) in Advanced Data Grid (of AS3 stable)? As I have posted this question before (and others did before me) but got no reply, I wonder what is the reason... Contrary to the above statements, the other lockedColumnCount works as adverised... So what gives with this one? Was it forgotten by Adobe? Any answer pro or con its existance, will be much appreciated. Thanks in advance George
Re: [flexcoders] Advanced Data Grid with Grouped Columns
On Thursday 30 Oct 2008, grg_blls wrote: vertical scroll, it always throws a RTE. Guess: It's your customer editors. As this code self-evidently won't run as-is, and you've not included the full text of the RTE, it's hard to help. -- Tom Chiverton Helping to dynamically e-enable sticky turn-key users This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Advanced Data Grid - LockedRowCount property
Hi all, I am developing with Flex Plug-In build 3.0.194161 in Eclipse 3.3.2 build M20080221-1800. The application includes a Advanced Data Grid control, that I need to have the first row locked for vertical scrolling. Setting property lockedRowCount=1, though accepted - doesn't produce any RTE, does nothing also. I.e. has no effect and the adg scrolls as normally. Further, after setting the property value equal to 1 (as required in my case), this property value is reported back as 0 (doesn't seem to get set ever). Any ideas? Thanks all George
[flexcoders] Advanced Data Grid with Grouped Columns
Hi all, using a ADG control and having set for groupedColumns. I also use ItemEditors set as Renderers. The mxml code snippet is attached. This works finw as long as I don't use the vertical scroll bar (if there are enough data rows in the adg to need scrolling). If I try vertical scroll, it always throws a RTE. This is not so, if I don't use groupedColumns. Then the adg and the application work perfectly stable. Any ideas? Thanks all George Attach Code mx:groupedColumns !-- column 0 -- mx:AdvancedDataGridColumn dataField=JobPlan headerText=Column 0 id=adgC0 textAlign=center width=80 minWidth=80 editable=false sortable=false / !-- column 1 -- mx:AdvancedDataGridColumn dataField=Doc width=61 minWidth=61 id=adgC1 headerText=Column 1 editable=false textAlign=center sortable=false/ mx:AdvancedDataGridColumnGroup headerText=Grouped Columns !-- column 2 -- mx:AdvancedDataGridColumn dataField=SPA width=61 minWidth=61 id=adgC2 editable=true headerText=Start textAlign=left sortable=false itemEditor=NSStartP_ editorDataField=value / !-- column 3 -- mx:AdvancedDataGridColumn dataField=EPA width=61 minWidth=61 id=adgC3 editable=true headerText=End textAlign=left sortable=false itemEditor=NSEndP_ editorDataField=value / /mx:AdvancedDataGridColumnGroup /mx:groupedColumns
[flexcoders] Advanced Data grid question
Hi, I have an advanced DG that contains projects and orchestrations. Each project is a parent node and the children are the orchestrations. I'd like to display them as link buttons. When you click on the project the user goes to the project page and when you click the orchestration the user goes to the orchestration page. I've defined an item renderer for this purpose. When I use the itemrenderer I can get the orchestrations to be links and not the projects. Initially this component was a datagrid on 2.0 and I upgraded to 3.0 and I moved to the advanced datagrid and I reused most of the renderers and got them to work with some minor tweaks. Any ideas on how to make the parent node a link in advanced DG? Thanks, Pratima
Re: [flexcoders] Advanced Data grid question
Pratima, I have accomplished something similar by making my itemRenderer extends AdvancedDataGridGroupItemRenderer, which is the default tree renderer used by the AdvancedDataGrid. On Mon, Jul 14, 2008 at 3:06 PM, Pratima Rao [EMAIL PROTECTED] wrote: Hi, I have an advanced DG that contains projects and orchestrations. Each project is a parent node and the children are the orchestrations. I'd like to display them as link buttons. When you click on the project the user goes to the project page and when you click the orchestration the user goes to the orchestration page. I've defined an item renderer for this purpose. When I use the itemrenderer I can get the orchestrations to be links and not the projects. Initially this component was a datagrid on 2.0 and I upgraded to 3.0 and I moved to the advanced datagrid and I reused most of the renderers and got them to work with some minor tweaks. Any ideas on how to make the parent node a link in advanced DG? Thanks, Pratima -- Marcelo Curi Savioli DClick Web Mobile Solutions [EMAIL PROTECTED] www.dclick.com.br/blog www.dclick.com.br
Re: [flexcoders] Advanced Data grid question
Hi Pratima, Are you overriding the function set data ? I did something similar just checking what was my object type(Im supposing that u r using different object for projects and orchestrations). I used a subclass of LinkButton as my renderer. Hope this helps. Pedro Sena On Mon, Jul 14, 2008 at 3:06 PM, Pratima Rao [EMAIL PROTECTED] wrote: Hi, I have an advanced DG that contains projects and orchestrations. Each project is a parent node and the children are the orchestrations. I'd like to display them as link buttons. When you click on the project the user goes to the project page and when you click the orchestration the user goes to the orchestration page. I've defined an item renderer for this purpose. When I use the itemrenderer I can get the orchestrations to be links and not the projects. Initially this component was a datagrid on 2.0 and I upgraded to 3.0 and I moved to the advanced datagrid and I reused most of the renderers and got them to work with some minor tweaks. Any ideas on how to make the parent node a link in advanced DG? Thanks, Pratima -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */
RE: [flexcoders] Advanced Data grid question
Hi Marcelo, Thanks for your response. When you extend AdvancedDAtaGridGroupItemRenderer did you just override the createChildren and updateDisplayList, setData methods? I dabbled with that a bit today but wasn't able to make it work but I feel like I'm close to getting this to work. Thanks, Pratima From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Savioli Sent: Monday, July 14, 2008 11:27 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Advanced Data grid question Pratima, I have accomplished something similar by making my itemRenderer extends AdvancedDataGridGroupItemRenderer, which is the default tree renderer used by the AdvancedDataGrid. On Mon, Jul 14, 2008 at 3:06 PM, Pratima Rao [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have an advanced DG that contains projects and orchestrations. Each project is a parent node and the children are the orchestrations. I'd like to display them as link buttons. When you click on the project the user goes to the project page and when you click the orchestration the user goes to the orchestration page. I've defined an item renderer for this purpose. When I use the itemrenderer I can get the orchestrations to be links and not the projects. Initially this component was a datagrid on 2.0 and I upgraded to 3.0 and I moved to the advanced datagrid and I reused most of the renderers and got them to work with some minor tweaks. Any ideas on how to make the parent node a link in advanced DG? Thanks, Pratima -- Marcelo Curi Savioli DClick Web Mobile Solutions [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.dclick.com.br/blog http://www.dclick.com.br/blog www.dclick.com.br http://www.dclick.com.br
RE: [flexcoders] Advanced Data Grid Item Editor
Hi, I tried this with a GroupingCollection dataProvider as well. The behaviour is slightly different, but in both cases I notice a fairly serious bug if editable is set to item. When the grid first displays, if I click on the first group heading, I get ActionScript error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls::AdvancedDataGridBaseEx/commitEditedItemPosition()[C:\Work\f lex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDa taGridBaseEx.as:4359] Anyone else seen this? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Stewart Sent: Tuesday, 13 May 2008 4:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Advanced Data Grid Item Editor Hi, I have an advanced data grid which I populate from an array of objects, each with a collection of child objects, and it displays fine. The problem is when I start to make it editable. It seems that setting the AdvancedDataGrid.editable property to item should make my child objects editable, not the groups, but the parent tree items are editable, and when I click in a parent line with no associated data element - such as the From or To column in the example - that's becoming editable too. The code below demonstrates this: // Make data provider: var test : Array = [{description : abc, tiers : [{lowerLimit:1,upperLimit:2,rate:0.3}, {lowerLimit:4,upperLimit:5,rate:0.6}, {lowerLimit:7,upperLimit:8,rate:0.9}]}, {description : def, tiers : [{lowerLimit:1,upperLimit:2,rate:0.3}, {lowerLimit:4,upperLimit:5,rate:0.6}, {lowerLimit:7,upperLimit:8,rate:0.9}]}] rulesGridData = new HierarchicalData(test); // The data grid mx:AdvancedDataGrid id=tiersTable editable=item dataProvider={rulesGridData} mx:groupedColumns mx:AdvancedDataGridColumn headerText=Name dataField=description/ mx:AdvancedDataGridColumn headerText=From dataField=lowerLimit/ mx:AdvancedDataGridColumn headerText=To dataField=upperLimit/ mx:AdvancedDataGridColumn headerText=Rate dataField=rate/ /mx:groupedColumns /mx:AdvancedDataGrid Tim
[flexcoders] Advanced Data Grid Item Editor
Hi, I have an advanced data grid which I populate from an array of objects, each with a collection of child objects, and it displays fine. The problem is when I start to make it editable. It seems that setting the AdvancedDataGrid.editable property to item should make my child objects editable, not the groups, but the parent tree items are editable, and when I click in a parent line with no associated data element - such as the From or To column in the example - that's becoming editable too. The code below demonstrates this: // Make data provider: var test : Array = [{description : abc, tiers : [{lowerLimit:1,upperLimit:2,rate:0.3}, {lowerLimit:4,upperLimit:5,rate:0.6}, {lowerLimit:7,upperLimit:8,rate:0.9}]}, {description : def, tiers : [{lowerLimit:1,upperLimit:2,rate:0.3}, {lowerLimit:4,upperLimit:5,rate:0.6}, {lowerLimit:7,upperLimit:8,rate:0.9}]}] rulesGridData = new HierarchicalData(test); // The data grid mx:AdvancedDataGrid id=tiersTable editable=item dataProvider={rulesGridData} mx:groupedColumns mx:AdvancedDataGridColumn headerText=Name dataField=description/ mx:AdvancedDataGridColumn headerText=From dataField=lowerLimit/ mx:AdvancedDataGridColumn headerText=To dataField=upperLimit/ mx:AdvancedDataGridColumn headerText=Rate dataField=rate/ /mx:groupedColumns /mx:AdvancedDataGrid Tim