tag:blogger.com,1999:blog-1245414118611676168.post3076372624335832970..comments2023-11-02T01:50:46.341-07:00Comments on Pearls of Flex: Displaying charts in AdvancedDataGridSreenivashttp://www.blogger.com/profile/17636694169757371801noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-1245414118611676168.post-86063657951134706332016-04-26T06:45:35.257-07:002016-04-26T06:45:35.257-07:00Hi Sreenivas! Thanks for sharing! It is now workin...Hi Sreenivas! Thanks for sharing! It is now working perfectly. Our <a href="http://customwriting-s.com/" rel="nofollow">custom essay writing service</a> is here to help you with any issue pertaining to content writing! Best of luck to you!<br />paulsmith198914@gmail.comhttps://www.blogger.com/profile/01097862152097877690noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-58984658868087727862012-05-29T21:04:44.277-07:002012-05-29T21:04:44.277-07:00Srinivas, this blog is old but I hope you get this...Srinivas, this blog is old but I hope you get this. How can I create the same application using database tables. I have two tables, patients and visits connected via 'patient_id'. I want patients to be the AdvancedDatagrid and visits to be in a datagrid inside the exandable section. I can't seem to figure out how to return the database call in the format required: <br /><br />private var dp:Array= [<br /> { name:"Krishna", total:100, date:"01-Jan-2007", <br /> <br />children:[ { detail:[{amount:5},{amount:10},{amount:20},{amount:45}, {amount:30} ]} ] },<br /><br /><br />Thanks,Kaushal Shahhttps://www.blogger.com/profile/06936806057689717846noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-4843732726806254082009-09-04T06:38:28.114-07:002009-09-04T06:38:28.114-07:00Without seeing sample code with the problem I cann...Without seeing sample code with the problem I cannot help much.Sreenivashttps://www.blogger.com/profile/17636694169757371801noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-62945076586661043542009-09-04T02:41:59.813-07:002009-09-04T02:41:59.813-07:00Hi Sreenivas I am trying to create an AdvancedData...Hi Sreenivas I am trying to create an AdvancedDataGridItemRenderer which displays different UI components in the SAME column, depending on data type in the RUNTIME.<br />For example, I have a "type" attribute in the data and depending on the value it should render custom renderer or default renderer..I also want to drag and drop the items within the ADG, doing so my renderer display becomes improper.I am stuck with this for a long time, can you help me with this?adityahttps://www.blogger.com/profile/14666566364857978584noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-79626950714781195032009-08-30T04:47:37.419-07:002009-08-30T04:47:37.419-07:00Hi,
I am trying to create an AdvancedDataGridItemR...Hi,<br />I am trying to create an AdvancedDataGridItemRenderer which displays different UI components in the SAME column, depending on data type in the RUNTIME.<br />For example, a have a "value" column and the value can be either a date, or some text, or combobox, etc.., and all those values are in the same column. I receive all this data at runtime.<br />Thanks,<br />AdaUnknownhttps://www.blogger.com/profile/16857524296811179826noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-54710780375351278802009-08-13T06:56:46.727-07:002009-08-13T06:56:46.727-07:00It is working perfectly..Thanks alot to u to give ...It is working perfectly..Thanks alot to u to give a perfect solution. <br />code is:-<br />var renderer1:ClassFactory = new ClassFactory(DetailGrid);<br /> var input:Object= new Object();<br /> input["interName"] = "Sreeni";<br /> input["gridNm"] = "SCB";<br /> renderer1.properties = input;<br /> adgRendererProvider.renderer = <br /><br />renderer1;<br /><br />*interName and gridNm is public variable of DetailGrid(item renderer)DEVSACHINhttps://www.blogger.com/profile/11141308438800960236noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-69853877277922984092009-08-13T06:50:43.105-07:002009-08-13T06:50:43.105-07:00It works now... :)
i found sample code at
http://l...It works now... :)<br />i found sample code at<br />http://livedocs.adobe.com/flex/2/langref/mx/core/ClassFactory.html<br /><br />ThanksDEVSACHINhttps://www.blogger.com/profile/11141308438800960236noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-83218750059063934922009-08-13T04:51:23.840-07:002009-08-13T04:51:23.840-07:00Thx for quick reply,
Actually i refer sameer bhatt...Thx for quick reply,<br />Actually i refer sameer bhatts/s post http://techrays.wordpress.com/2008/04/07/advanced-datagrid-as-an-item-renderer-within-an-advanced-datagrid/#comment-1170 To use datagrid as an itemRenderer in datagrid..i am calling web services to create column and assign data to the GRID..so i need to initialize few values to call webservices from DataGridItemRenderer.DEVSACHINhttps://www.blogger.com/profile/11141308438800960236noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-11563611173488563482009-08-13T04:01:56.827-07:002009-08-13T04:01:56.827-07:00I can't imagine what you trying achieve by set...I can't imagine what you trying achieve by setting values on your itemRenderers from you application.<br /><br />If they are one time values which are know by the time itemRenderers are created you can create a class which implements IFactory and pass it to the itemRenderer property. <br /><br />Take a look at the help of IFactory and itemRenderer property of the control you are using for more information.Sreenivashttps://www.blogger.com/profile/17636694169757371801noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-37248295111088522732009-08-13T03:37:41.175-07:002009-08-13T03:37:41.175-07:00Hi sreeni sir,
How can i initialize a variable of ...Hi sreeni sir,<br />How can i initialize a variable of custom item render/editor from outside(mxml or AS file)?<br />I want to set some values of an itemRenderer from my application.<br />Please let me know if it is posible<br /><br />ThanksDEVSACHINhttps://www.blogger.com/profile/11141308438800960236noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-26094287003597240912009-05-18T13:35:00.000-07:002009-05-18T13:35:00.000-07:00Nevermind Screenivas. Got it figured out. Thanks f...Nevermind Screenivas. Got it figured out. Thanks for your time.Unknownhttps://www.blogger.com/profile/13270852410544591104noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-35867288279959721532009-05-18T06:27:00.000-07:002009-05-18T06:27:00.000-07:00The ProgramRenderer is a LinkButton component and ...The ProgramRenderer is a LinkButton component and the TextRenderer is a Text component.Unknownhttps://www.blogger.com/profile/13270852410544591104noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-14310630073510914632009-05-18T06:25:00.000-07:002009-05-18T06:25:00.000-07:00Thanks for replying Screenivas. Here's my code:
m...Thanks for replying Screenivas. Here's my code:<br /><br />mx:Script<br /> ![CDATA[<br /> import mx.collections.ArrayCollection;<br /> <br /> [Bindable]<br /> private var onlineEveningsData:ArrayCollection = new ArrayCollection([<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 1", CareerFieldName:"Career Field 1"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 2", CareerFieldName:"Career Field 2"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 3", CareerFieldName:"Career Field 3"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 4", CareerFieldName:"Career Field 4"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 5", CareerFieldName:"Career Field 5"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 6", CareerFieldName:"Career Field 6"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 7", CareerFieldName:"Career Field 7"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 8", CareerFieldName:"Career Field 8"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 9", CareerFieldName:"Career Field 9"},<br /> {Type:"ONLINE PROGRAMS", <br /> ProgramName:"Program 10", CareerFieldName:"Career Field 10"}<br />]);<br /><br />mx:AdvancedDataGrid <br /> width="752" <br /> height="373" <br /> x="0" <br /> y="93" <br /> buttonMode="true"<br /> initialize="groupCol.refresh()" <br /> sortableColumns="false"<br /> dragEnabled="false" <br /> draggableColumns="false"<br /> <br /> mx:dataProvider<br /> <br /> mx:GroupingCollection <br /> id="groupCol" <br /> source="{onlineEveningsData}"<br /> <br /> mx:grouping<br /> <br /> mx:Grouping<br /> <br /> mx:GroupingField <br /> name="Type"<br /> <br /> mx:Grouping<br /> <br /> mx:grouping<br /> <br /> mx:GroupingCollection<br /> <br /> mx:dataProvider<br /> <br /> mx:rendererProviders<br /> <br /> mx:AdvancedDataGridRendererProvider<br /> columnIndex="1"<br /> renderer="com.scc.catalog.view.renderers.TextRenderer"<br /> columnSpan="1"<br /> <br /> mx:AdvancedDataGridRendererProvider <br /> columnIndex="1" <br /> renderer="com.scc.catalog.view.renderers.ProgramRenderer" <br /> columnSpan="1"<br /><br /> mx:rendererProviders<br /> <br /> mx:columns<br /> <br /> mx:AdvancedDataGridColumn <br /> dataField="ProgramName" <br /> headerText="Progam Name"<br /> <br /> mx:AdvancedDataGridColumn <br /> dataField="CareerFieldName" <br /> headerText="Career Field"<br /> <br /> mx:columns<br /> <br /> mx:AdvancedDataGridUnknownhttps://www.blogger.com/profile/13270852410544591104noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-84082873758744783282009-05-18T02:48:00.000-07:002009-05-18T02:48:00.000-07:00Without seeing the actual code it is difficult to ...Without seeing the actual code it is difficult to guess. If you have the itemRenderer properly it should just appear as required.Sreenivashttps://www.blogger.com/profile/17636694169757371801noreply@blogger.comtag:blogger.com,1999:blog-1245414118611676168.post-55183313034803748372009-05-15T14:42:00.000-07:002009-05-15T14:42:00.000-07:00Very nice and thanks for posting. I've been lookin...Very nice and thanks for posting. I've been looking for this for a while. <br /><br />I'm working on a project though in which I would like a linkbutton renderer in one column and plain text in the other both on the same columnIndex. Thought I had it correct but I'm getting text showing in both columns, no linkButton. Any ideas by chance?Unknownhttps://www.blogger.com/profile/13270852410544591104noreply@blogger.com