[flex_india:25812] Flex advanced datagrid
Hi, in my appication iam dynamically grouping an advanced datagrid. Mate frame work is using. Data for grouping were get through remote object invoker. my problem is the flolowing error. This error will occur susrisingly.. undefined at ListCollectionViewCursor/get bookmark()[E:\dev\3.0.x\frameworks \projects\framework\src\mx\collec tions\ListCollectionView.as:1620] at mx.collections::HierarchicalCollectionViewCursor/moveNext()[C:\Work \flex\dmv_automation\projects \datavisualisation\src\mx\collections \HierarchicalCollectionViewCursor.as:535] at mx.controls::AdvancedDataGrid/expandAll()[C:\Work\flex \dmv_automation\projects\datavisualisation \src\mx\controls\AdvancedDataGrid.as:5783] at mx.controls::AdvancedDataGrid/collectionChangeHandler()[C:\Work \flex\dmv_automation\projects\dat avisualisation\src\mx\controls\AdvancedDataGrid.as:5885] at mx.controls.listClasses::AdvancedListBase/set dataProvider()[C: \Work\flex\dmv_automation\project s\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as: 1675] at mx.controls::AdvancedDataGridBaseEx/set dataProvider()[C:\Work\flex \dmv_automation\projects\data visualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1625] at mx.controls::AdvancedDataGrid/commitProperties()[C:\Work\flex \dmv_automation\projects\datavisual isation\src\mx\controls\AdvancedDataGrid.as:2145] at mx.core::UIComponent/validateProperties()[E:\dev\3.0.x\frameworks \projects\framework\src\mx\core \UIComponent.as:5670] at mx.managers::LayoutManager/validateProperties()[E:\dev\3.0.x \frameworks\projects\framework\src\m x\managers\LayoutManager.as:519] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x \frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:669] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks \projects\framework\src\mx\co re\UIComponent.as:8460] at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks \projects\framework\src\mx\cor e\UIComponent.as:8403] pls help me.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26357] Re: Doubt in Flex - Your Help is Really Needed. (Refresh Issues in Flex with IE)
I am using modules in my application... Then how can i implement? Regards, Hari On Nov 4, 7:10 am, Vaibhav Seth wrote: > http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_De... > > > > > > On Tue, Nov 3, 2009 at 8:08 PM, wrote: > > How do you deep link??? > > > On Tue, Nov 3, 2009 at 7:53 PM, Vaibhav Seth > > wrote: > > >> Have you tried deep linking, which is one of the key feature in Flex 3. > >> Hope it will help. > > >> On Tue, Nov 3, 2009 at 2:21 PM, Leena kale wrote: > > >>> Hi Friends, > > >>> This is Leena Kale. I have an issue with refreshing my Application. I > >>> want user to allow the refresh the application by browser or F5 key. I > >>> have > >>> already tried the following ways: > > >>> Using SharedObject > >>> Using Session Object > > >>> Both are Working fine in Mozilla Firefox and Google Chrome. But the > >>> problem in coming in Internet Explorer. It only works when we change the > >>> *default setting(Automatically)* from Internet Options to *Every Time I > >>> Visit the Page.* > > >>> I am unable to understand this behaviour of IE towards the SWF. > > >>> Now, My Questions are: > > >>> 1. Is there any way, where we don't need to change this setting of > >>> Internet Explorer and Still it works Fine? > >>> 2. Or We need to change it? > >>> 3. Is there any other way to achieve this functionality apart from What I > >>> tried? > > >>> Since, at my company our people don't want to change this setting, but > >>> still want to achieve this feature. > >>> I know, you people are Really Good in Flex and are really busy with your > >>> important works. But, I will be really thankful to you, if you people can > >>> spend a minute or two to write the answers for these questions, since this > >>> is very critical for survival this Project. > > >>> Thanks & Regards: > >>> Leena T. Kale > >>> "If u wish to reach on Highest then start from Lowest." > > >>> Contact No: 9764657046 > >>> Skype IM - leena.kale > > >> -- > >> Thanks, > >> Vaibhav Seth. > > > -- > > Ed Melendez > > Print/Web/Media > > > 646.246.4368 > > edwin.vgw...@gmail.com > > -- > Thanks, > Vaibhav Seth.- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26500] Re: urgent help: Tab Through DataGrid
Iam also needed... Could u pls send me the code? _Hari- On Nov 7, 12:19 am, Kiran Singh wrote: > S.we can make by using itemeditor and use same component name as itemrender > and for more details i will send u sample code on monday EOB. > > Thanks, > Kiran Singh > > > > > > On Fri, Nov 6, 2009 at 7:17 AM, HISSAM wrote: > > when u use tab that means ur component receives the focus event > > so u have to write extra code for the same when ur AdvancedDataGrid gets > > the focus event. > > it can be done, u have to just play with focus event and the selected item > > in the datagrid > > > 2009/11/4 KC > > >> In my application, I m able to tab through the buttons,textboxes, drop > >> down and the AdvancedDataGrid on the page. But I m unable to tab > >> through the buttons and checkboxes inside the AdvancedDataGrid, which > >> are rendered through itemRenderer. Please let me know whether is it > >> possible or not. > >> If yes,please provide me with a solution. > >> thnx in advance > > > -- > > > > Hissam, > > Flex Developer, > > INDIA(m) +919860694301, +9102026127552 > > --- > > Sent from Maharashtra, India > > -- > N.Kiran Singh > mca- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:27415] Re: How to auto adjust number of rows in DataGrid
Use rowCount to limit the number of rows Regards, -Hari- On Dec 20, 7:03 pm, Shreyas wrote: > Hi, > > Is there any way using which the number of rows displayed in DataGrid > can be adjusted automatically? > > I have an application in which initially the DataGrid is populated > with just 2-3 records, and in the course of running of the > application, more records are added. > > Initially, I do not wish to have the additional blank rows. How can > this be done? > > Thanks -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27821] Re: File Upload in Flex
Hi Friends, How can we set the folder path' we want to upload from flex? I wrote an uploadhandler in asp. My upload handler is following. <%@ WebHandler Language="C#" Class="FileUploadHandler" %> using System; using System.Web; public class FileUploadHandler : IHttpHandler { public void ProcessRequest (HttpContext context) { string applicationPath = context.Server.MapPath (context.Request.ApplicationPath); string folderPath = applicationPath + "/Uploads/"; string filePath = string.Empty; System.IO.DirectoryInfo objDirectory = new System.IO.DirectoryInfo(folderPath); // if the directory does not exists, create it. if (!objDirectory.Exists) { objDirectory.Create(); } string result = "OK"; context.Response.ContentType = "text/plain"; if (context.Request.Files.Count > 0) { HttpPostedFile file = context.Request.Files[0]; try { filePath = folderPath + file.FileName; file.SaveAs(filePath); } catch (Exception ex) { result = "File Upload Failed. Exception : " + ex.Message; } } else { result = "No File Uploaded"; } context.Response.Write(result); } public bool IsReusable { get { return false; } } } Pls help me.. It is urgent... Regards, Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27842] File Upload in Flex Urgent help needed
Hi, I had selected a file from flex to upload. Then deleted from the actual location and try to upload. IO Error will occur. How can i check the file for existence? If any one knows please help... Regards, Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27878] Re: File Upload in Flex Urgent help needed
Actually the situation is 1. Browse a file to upload (this will added to the upload file list) 2. Delete the selected file from the actual location (local hard drive) 3. Before the upload process i want to check if the file is existing or not in local disk On Jan 20, 11:50 am, explorer wrote: > let me try to see if I understand this, you want to upload file from > local hard drive, and after you do that to erase file from local hard > disk,and to have this on server > > On Jan 19, 5:43 am, Hari Narayanan wrote: > > > > > Hi, > > I had selected a file from flex to upload. Then deleted from the > > actual location and try to upload. IO Error will occur. How can i > > check the file for existence? > > > If any one knows please help... > > > Regards, > > Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27897] Re: File Upload in Flex Urgent help needed
Suggestion from testing team.. On Jan 20, 4:49 pm, vengu wrote: > Catch the QA who filed this as a bug. Slap him :-) > > You normally expect your users to be slighly sane isnt it? The point > is flash player sends the file contents as soon as you do a > urlRequest.send.(). If the user deletes the file,its totally moronic > of him to do so. I do not see how it can be a problem that you as a > developer can address > > On Jan 19, 9:43 am, Hari Narayanan wrote: > > > > > Hi, > > I had selected a file from flex to upload. Then deleted from the > > actual location and try to upload. IO Error will occur. How can i > > check the file for existence? > > > If any one knows please help... > > > Regards, > > Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28039] Open excel application from flex
Hi Does anyone knows how to open excel file without using navigateToURL() function in flex? I need code in flex only Regards, Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28050] Re: Open excel application from flex
I want to read the file from the server file system. how? On Jan 28, 10:05 am, Akshar wrote: > do you want to read the file from the local file system or from the > server file system. > for reading local file go through this > link:-http://www.mikechambers.com/blog/2008/08/20/reading-and-writing-local... > > On Jan 28, 8:54 am, Hari Narayanan wrote: > > > Hi > > Does anyone knows how to open excel file without using > > navigateToURL() function in flex? > > I need code in flex only > > > Regards, > > Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28051] Re: Open excel application from flex
It should be browser simpatico On Jan 28, 1:33 pm, Jitendra Jain wrote: > Using Javascript you can. But will work only in IE and not in FF. > > On Thu, Jan 28, 2010 at 9:24 AM, Hari Narayanan > wrote: > > > > > Hi > > Does anyone knows how to open excel file without using > > navigateToURL() function in flex? > > I need code in flex only > > > Regards, > > Hari > > > -- > > You received this message because you are subscribed to the Google Groups > > "Flex India Community" group. > > To post to this group, send email to flex_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. > > -- > Thanks and Regards, > JJain, > > If you have knowledge, let others light their candles in it --Margaret > Fuller: -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28248] Re: [JobPosting]Flex+JavaScript guru required
Please give your company and contact email id. -Hari- On Feb 3, 9:15 pm, Chiradip Narayan Mandal wrote: > Sorry, I forgot to mention the location - it is in Bangalore. > > Chiradip > > > > On Wed, Feb 3, 2010 at 1:37 PM, Chiradip wrote: > > I Guys, > > > I am looking for a person with 1-6 years of experience with knowledge > > on Flex and JavaScript along good sense of designing. This is for a > > startup - good salary and other benefits. Please reply me if you think > > you are the one. > > > Chiradip > > > +91 9739007627 > > > -- > > You received this message because you are subscribed to the Google Groups > > "Flex India Community" group. > > To post to this group, send email to flex_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > ps.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28737] Re: Remove vertical line in the datagrid header
Use an empty image as headerSeparatorSkin (ie.; headerSeparatorSkin="{AssetLib.spacer}") -Hari On Feb 23, 9:42 am, pradeepflex wrote: > Hello All, > > I need to remove the vertical header line in the datagrid,I tried for > the vertivalGridLines=false. > But that is working for remove the lines in the grid. > How can i remove that header line in the grid > > Thanks for any valuable information > > Regards, > Pradeep -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28750] Re: Remove vertical line in the datagrid header
No. it is applicable to all datagrid columns.. On Feb 23, 11:59 am, pradeep gorijavolu wrote: > Thanks for the information > > what is AssetLib.spacer instead of that i use ProgramaticSkin it works > > But can i put for particular column in the datagrid? > > Regards, > Pradeep > > On Tue, Feb 23, 2010 at 10:57 AM, Hari Narayanan > > > > wrote: > > Use an empty image as headerSeparatorSkin (ie.; > > headerSeparatorSkin="{AssetLib.spacer}") > > > -Hari > > > On Feb 23, 9:42 am, pradeepflex wrote: > > > Hello All, > > > > I need to remove the vertical header line in the datagrid,I tried for > > > the vertivalGridLines=false. > > > But that is working for remove the lines in the grid. > > > How can i remove that header line in the grid > > > > Thanks for any valuable information > > > > Regards, > > > Pradeep > > > -- > > You received this message because you are subscribed to the Google Groups > > "Flex India Community" group. > > To post to this group, send email to flex_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > ps.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28751] FileReference equivalent type in c#
Hi All, Which class type is equivalent to FileReference in flex? Help me.. Its urgent.. -Hari -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29051] Re: Wrap Text in lable
Label doesn't support multilne property. To use a multiline label extend the label control . Override the function createChildren(), create a UITextField to display the label and set multiline property to true. Sample Code / ***/ package components { import flash.display.DisplayObject; import flash.text.TextFieldAutoSize; import mx.controls.Label; import mx.core.UITextField; /** * The MultiLineLabel is a control that supports multiline property and is extended * from mx.controls.Label */ public class MultiLineLabel extends Label { override protected function createChildren():void { // Create a UITextField to display the label. if (!textField) { textField=new UITextField(); textField.styleName=this; addChild(DisplayObject(textField)); } super.createChildren(); textField.multiline=true; textField.wordWrap=true; textField.autoSize=TextFieldAutoSize.LEFT; } } } / ***/ On Mar 9, 7:36 pm, krishna chaitanya kambhampati wrote: > There is not wrap text property for label > > *Use Text* control *or* use *truncateToFit *property for Label to display > the label > > On Tue, Mar 9, 2010 at 5:29 PM, Iyer Anuradha wrote: > > > > > > > in properties we have an option wraptext = true/false make it true. > > > i hope it will work > > > On Wed, Mar 3, 2010 at 2:22 PM, yogesh patel > > wrote: > > >> Hi, > >> How to wrap text in lable? > > >> -- > >> Thanks & Regards, > >> Yogesh Patel > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Flex India Community" group. > >> To post to this group, send email to flex_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com >> ps.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Flex India Community" group. > > To post to this group, send email to flex_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > ps.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. > > -- > Thanks & Regards, > K. Krishna Chaitanya > ARIJASOFT - HYDwww.arijasoft.com -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29297] Advanced datagrid grouping problem
dailyActivityLogDetails [0] = DATaskType = "Project Activities" ProjectName = ""Project1" " : String TaskId = 2 : Number TaskName = "Task1" : String TotalEffort = 0 : Number [1] = DATaskType = "Project Activities" ProjectName = ""Project1" " : String TaskId = 3 : Number TaskName = "Task2" : String TotalEffort = 0 : Number [2] = DATaskType = "Project Activities" ProjectName = "Project2" : String TaskId = 4 : Number TaskName = "Task3" : String TotalEffort = 0 : Number [3] = DATaskType = "Project Activities" ProjectName = "Project2" : String TaskId = 5 : Number TaskName = "Task4" : String TotalEffort = 0 : Number [4] = DATaskType = "Project Activities" ProjectName = "Project2" : String TaskId = 6 : Number TaskName = "Task5" : String TotalEffort = 0 : Number [5] = DATaskType = "Project Activities" ProjectName = "Project2" : String TaskId = 7 : Number TaskName = "Task6" : String TotalEffort = 0 : Number [6] = DATaskType = "Non Project Activities" ProjectName = "Other Tasks" : String TaskId = 1 : Number TaskName = "" : String TotalEffort = 0 : Number When i grouping this the output coming like this Project NameTaskNameId Total --- Project Activities Project1 Task1 2 0 Project2 Task2 3 0 Project2 Task3 4 0 Project1 Task6 7 0 Project2 Task4 5 0 Project2 Task5 6 0 Non Project Activities Other Tasks 1 0 Why the out put coming like this? I need the below output Project NameTaskNameId Total --- Project Activities Project1 Task1 2 0 Project1 Task6 3 0 Project2 Task2 4 0 Project2 Task3 7 0 Project2 Task4 5 0 Project2 Task5 6 0 Non Project Activities Other Tasks 10 Used the following code for grouping var dgGCollection:GroupingCollection=new GroupingCollection(); var dgGField:Grouping=new Grouping(); var dgGFieldProjName:Grouping=new Grouping(); dashBoardGrid.dataProvider=null; // Initialize the GroupingCollection instance. dgGCollection.source= dailyActivityLogDetails ; dgGField.fields=[new GroupingField("DATaskType", true, true)]; dgGCollection.grouping=dgGField; dashBoardGrid.dataProvider=dgGCollection; // Refresh the display. dgGCollection.refresh(); Please help me -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.