[flex_india:28718] Re: Reporting In Flex

2010-02-22 Thread Akshar
you can create the report as a string in flex and then store that in a
file specified by the user on his local machine.

On Feb 22, 12:32 pm, kanaily ranjeetkumarkana...@gmail.com wrote:
 hi all,
 i want to know how we can generate report in flex without using
 any third party class or reference ..
 there are many more third party references is there but
 i want to generate report at client side by flex only

 if you have some idea about this plz share it with us

 thanks in advance

-- 
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:28719] Scroll bar in datagrid

2010-02-22 Thread Akshar
i want to show a scrollbar in a data grid. this scrollbar should come
when the contents of any of the columns exceed the space available.
also the width of the columns should be such that the contents are
fully seen.
attached is a sample code:-
--
?xml version=1.0?
!-- DataGrid control example. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

mx:Script
![CDATA[
import mx.events.ResizeEvent;
import mx.collections.IViewCursor;
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import mx.controls.dataGridClasses.DataGridColumn;
import mx.managers.CursorManager;

private function initApp():void
{
resizeIt();
this.addEventListener(ResizeEvent.RESIZE, resize);
}

private function resize(event:ResizeEvent):void
{
stuff.invalidateSize();  //causes canvas to be
remeasured just before resizeIt()
stuff.validateNow();
callLater(resizeIt);  //this will do the resize after
we get actual size of canvas
}
private function resizeIt():void
{
if(dg.measuredWidth  stuff.width){
dg.maxWidth = stuff.width;
dg.width = Number.NaN;
}
else{
//if the sum of all columns widths is less than the
width of the canvas
//then max the width to prevent deadspace
dg.width = stuff.width;
dg.maxWidth = Number.NaN;
}
dg.maxHeight = stuff.height;
}

]]
/mx:Script


mx:XMLList id=employees
employee
nameChristina Coenraets/name
phonethis is a very long phone number which will not be
fully visible and i want to have a scrolbar like the windows event
viewer in it. this is a very long phone number which will not be fully
visible and i want to have a scrolbar like the windows event viewer in
it. this is a very long phone number which will not be fully visible
and i want to have a scrolbar like the windows event viewer in it.
this is a very long phone number which will not be fully visible and i
want to have a scrolbar like the windows event viewer in it. this is a
very long phone number which will not be fully visible and i want to
have a scrolbar like the windows event viewer in it. this is a very
long phone number which will not be fully visible and i want to have a
scrolbar like the windows event viewer in it. this is a very long
phone number which will not be fully visible and i want to have a
scrolbar like the windows event viewer in it./phone
emailccoenra...@fictitious.com/email
activetrue/active
/employee
employee
nameJoanne Wall/name
phone555-219-2012/phone
emailjw...@fictitious.com/email
activetrue/active
/employee
employee
nameMaurice Smith/name
phone555-219-2012/phone
emailmaur...@fictitious.com/email
activefalse/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailmjo...@fictitious.com/email
activetrue/active
/employee
/mx:XMLList

mx:Panel title=DataGrid Control Example height=100%
width=100% id=stuff verticalScrollPolicy=off
horizontalScrollPolicy=off
paddingTop=10 paddingLeft=10 paddingRight=10

mx:Label width=100% color=blue
text=Select a row in the DataGrid control./

mx:DataGrid id=dg width=100% height=100% rowCount=5
dataProvider={employees} horizontalScrollPolicy=auto
mx:columns
mx:DataGridColumn dataField=name headerText=Name /

mx:DataGridColumn dataField=email
headerText=Email /
mx:DataGridColumn dataField=phone
headerText=Phone /
/mx:columns
/mx:DataGrid

/mx:Panel
/mx:Application

--

-- 
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:28720] Re: Reporting In Flex

2010-02-22 Thread kanaily
thanks akshar
but the thing is reports contains more customized live data
so storing it into string is valid thing
even i want to print it too
so if you have some idea like kemelyon plz share with us

thanks

On Feb 22, 1:05 pm, Akshar akshar.k...@gmail.com wrote:
 you can create the report as a string in flex and then store that in a
 file specified by the user on his local machine.

 On Feb 22, 12:32 pm, kanaily ranjeetkumarkana...@gmail.com wrote:



  hi all,
  i want to know how we can generate report in flex without using
  any third party class or reference ..
  there are many more third party references is there but
  i want to generate report at client side by flex only

  if you have some idea about this plz share it with us

  thanks in advance- 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_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.



Re: [flex_india:28721] parentdocument in popups

2010-02-22 Thread DME Admin
Vaibhav,

Can you give me some sample code snippets

thanks
dme

On Thu, Feb 18, 2010 at 11:52 PM, Vaibhav Seth seth.vaibhav...@gmail.comwrote:

 You can also pass the reference of the objects or view you want to access,
 at the time of creating the PopUp..

   On Thu, Feb 18, 2010 at 9:21 AM, dme mails4...@gmail.com wrote:

  Can parentDocument be accessed from a popup(TitleWindow file)? Let me
 know any examples or links?

 I am having an application.mxml which has tab navigator as the base
 component. In application i am loading the data from server and based
 on the data loaded i am trying to update some of the values in display
 in a tab(for eg. summing up a column and displaying it). If that
 column is updated in a popup i need refresh the tab display. how to
 achieve this?

 Thanks
 dme

 --

 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 Thanks,
 Vaibhav Seth.


 --
 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.comflex_india%2bunsubscr...@googlegroups.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.



Re: [flex_india:28722] Need Flex Interview Question and how to prepare flex

2010-02-22 Thread Ganesh Suyampirakasam
Go to www.funonflex.com

On Mon, Feb 22, 2010 at 9:51 AM, Abdul Nizar abdul...@gmail.com wrote:

 AM also need interview questions.. :)


 On 22 February 2010 09:41, krishna shinde krish.shinde2...@gmail.comwrote:

 Hi vineet,

just go through the fallowing link, u will get questions and
 answer,Answer are not in detail but try to prepare answer in detail by
 googling

 http://flexexamples.blogspot.com/2009/06/80-flex-interview-questions.html

 http://programming-questions.blogspot.com/2008/11/flex-interview-questions.html

 http://www.geekinterview.com/Global-Interview-Questions/I-Flex/Placement-Papers

 Thanks  Regards
 Krishna Shinde
 9028903199

 On 2/19/10, vineet vineetk...@gmail.com wrote:

 Hi,

 I m new in this community n in flex too
 so i want assist on interview question so plz provide some solution
 and
 tell abt the way of understanding flex 3.

 --
 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.comflex_india%2bunsubscr...@googlegroups.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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 With Regards,
 Nizar.
 Disturb @ (+91) 9790503327

 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




-- 
Regards

Ganesh S

-- 
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:28723] Re: Reporting In Flex

2010-02-22 Thread Akshar
you can create a customized string if you have your data in a array
collection. Just iterate over it and create a customized string. then
you can store it in a file. the user can take a print out of that file
if he wants.

On Feb 22, 1:23 pm, kanaily ranjeetkumarkana...@gmail.com wrote:
 thanks akshar
 but the thing is reports contains more customized live data
 so storing it into string is valid thing
 even i want to print it too
 so if you have some idea like kemelyon plz share with us

 thanks

 On Feb 22, 1:05 pm, Akshar akshar.k...@gmail.com wrote:

  you can create the report as a string in flex and then store that in a
  file specified by the user on his local machine.

  On Feb 22, 12:32 pm, kanaily ranjeetkumarkana...@gmail.com wrote:

   hi all,
   i want to know how we can generate report in flex without using
   any third party class or reference ..
   there are many more third party references is there but
   i want to generate report at client side by flex only

   if you have some idea about this plz share it with us

   thanks in advance- 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_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:28724] getting tab index of tab navigator

2010-02-22 Thread neethu
I have a tabnavigator  with 5 tabs .
Reading the data from the database my tab in the navigator and the its
contents(ie the text/Input feilds are generated). I'm implementing
validations for these text inputs. When i click on a button in the
last tab, the tab in which invalid feild are there should be
highlighted im unable to get the index of that tab.
Can any one help me pls.

-- 
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.



Re: [flex_india:28725] getting tab index of tab navigator

2010-02-22 Thread biancardi

use a property of the object 

selectedIndex

example 

mx:TabNavigator  x=0 y=0 width=100% height=100% id=view_form 
/mx:TabNavigator

view_form.selectedIndex to get a selected tab or change it



neethu-2 wrote:
 
 I have a tabnavigator  with 5 tabs .
 Reading the data from the database my tab in the navigator and the its
 contents(ie the text/Input feilds are generated). I'm implementing
 validations for these text inputs. When i click on a button in the
 last tab, the tab in which invalid feild are there should be
 highlighted im unable to get the index of that tab.
 Can any one help me pls.
 
 -- 
 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.
 
 
 

-- 
View this message in context: 
http://old.nabble.com/-flex_india%3A28724--getting-tab-index-of-tab-navigator-tp27686074p27686186.html
Sent from the Flex India mailing list archive at Nabble.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.



Re: [flex_india:28726] Move Effect duration problem

2010-02-22 Thread Vaibhav Seth
stop the effect, reset the duration, play again.

See if this can help.



On Mon, Feb 22, 2010 at 1:36 AM, reji rejeeshman...@gmail.com wrote:

 Hi all,

 I am facing a problem in move effect duration property setting in
 dynamicaly...requirment is that i  have moving text , want to decrease
 the speed of  text while clicking the buttion.For that purpose  used a
 Move Effect in that duration property i gave default value.Dynamicaly
 how to change duration property  value. .If any one know kindly inform
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




-- 
Thanks,
Vaibhav Seth.

-- 
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.



Re: [flex_india:28727] parentdocument in popups

2010-02-22 Thread Vaibhav Seth
var abc:UIComponent = PopUpManager.createPopUp(PopUpComp);
abc.parentView = this;

where PopUpComp is the custom component used to display as PopUp and
parentView is the property inside it of type UIComponent, which is set to
the view in which you want to make the change.




On Thu, Feb 18, 2010 at 9:21 AM, dme mails4...@gmail.com wrote:

 Can parentDocument be accessed from a popup(TitleWindow file)? Let me
 know any examples or links?

 I am having an application.mxml which has tab navigator as the base
 component. In application i am loading the data from server and based
 on the data loaded i am trying to update some of the values in display
 in a tab(for eg. summing up a column and displaying it). If that
 column is updated in a popup i need refresh the tab display. how to
 achieve this?

 Thanks
 dme

 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




-- 
Thanks,
Vaibhav Seth.

-- 
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.



Re: [flex_india:28728] My Flex applications

2010-02-22 Thread biancardi

don't work 



sri space hero wrote:
 
 http://74.208.99.153/golive/goplay/ chatting videos viewing, images
 
 http://74.208.99.153/rummy/game an online Rummy game
 
 Guys, these are my flex application Please have a look and send me the
 response
 
 On Tue, Feb 16, 2010 at 5:25 PM, sri space hero
 sritejnar...@gmail.comwrote:
 
 http://74.208.99.153/golive/goplay/
 here is the link,

 On Tue, Feb 16, 2010 at 5:22 PM, Rahul Sood rahulsoo...@gmail.com
 wrote:

 Hi Sri Tej,

 Can I view the demo plz

 Rahul.


 On Mon, Feb 15, 2010 at 1:41 PM, sri space hero
 sritejnar...@gmail.comwrote:

 Yes Mr. Edwin,

I can surely give you a demo on this. By the way may i knw about you
 please ..??

 On Sat, Feb 13, 2010 at 10:56 PM, edwin.vgw...@gmail.com wrote:

 I'd like to see a working demo of this.
 Any availability?



 On Sat, Feb 13, 2010 at 11:06 AM, sri space hero 
 sritejnar...@gmail.com wrote:

 Hello Sood,

  I can give you an application for chat, it is so relaible that more
 than 1000 users can also chat at a time.
 But for this you need smartfoxserver Pro , i guess buying it wouldnt
 be
 a problem as it can help you in many issues, server side hits can be
 easily
 managed with that server, and u can control chat flooding, also
 restricting
 bad words.

i guess u might have heard about it. If you wish to know more
 about
 it you can ask me for details.



 On Sat, Feb 13, 2010 at 9:19 PM, Rahul Sood
 rahulsoo...@gmail.comwrote:

 Hi Friends,

 Any Flex Developer has developed a Chat Application in Flex ?
 Need the Solution to be Easy to Install and Not involving any Server
 Costs.
 Can be using Open-Source PHP Script.
 It should support atleast 1000 Users.

 I am not looking for Fresh Develpment, but Ready-Made Solution.
 Looking to Buy the Solution, if U can show me a working Demo

 Best Regards,
 Rahul Sood


 --

 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 Regards,

 Sri Tej
 Golive Gaming Solutions PVT LTD
 ph - 9703224405

 --
 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.comflex_india%2bunsubscr...@googlegroups.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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 Regards,

 Sri Tej
 Golive Gaming Solutions PVT LTD
 ph - 9703224405
 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 Learning is not necessary, neither is survival

 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 Regards,

 Sri Tej
 Golive Gaming Solutions PVT LTD
 ph - 9703224405

 
 
 
 -- 
 Regards,
 
 Sri Tej
 Golive Gaming Solutions PVT LTD
 ph - 9703224405
 
 -- 
 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.
 
 
 

-- 
View this message in context: 
http://old.nabble.com/-flex_india%3A28577--My-Flex-applications-tp27611606p27689971.html
Sent from the Flex India mailing list archive at Nabble.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 

Re: [flex_india:28729] interview questions aditya birla anyone plZ discuss

2010-02-22 Thread Vaibhav Seth
1) Variable cant be passed directly to itemRenderer, to pass its value it
must be passed as a property of the Object, which is passed to the renderer.
To access the value in the renderer use data.propertyName in the
itemrenderer.


On Mon, Feb 22, 2010 at 1:07 AM, lakshminarayan k naraya...@gmail.comwrote:

 hi all
 *Here some discsions about aditya birla interview session*
 *1.How to pass varibale in item renderer?*
 *2.what is diff beween java actionscript?*
 *3.what is the use of commit  measure ?*
 *4.how to override uicomponnet class when extend that?what kind methods
 will useds when extend UI Componet class to create combobox?*
 *5,what is the diffrence between overloading  overridingin AS3 with
 examples?*
 *6.how refresh web application?*
 *7.what is use of constructor in As3?when to use this super?interface?*
 **
 *8.component life cycle?*
 *9 Displaylist()?*
 *10?update displayList()?*
 *11.remote objects?*
 *12.when extending a UI component hou to override methods?*
 *13.how to acces  tree elemets from tree list ?*
 **
 *plz anyone discuss answers for easy to get on interviews*
 *thanks  regards*
 *...@ks*
 **


 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




-- 
Thanks,
Vaibhav Seth.

-- 
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:28730] Re: Steps to Learn Flex

2010-02-22 Thread Harjot Narula
Raj,

Video Training
http://www.adobe.com/devnet/flex/videotraining/
We all know that we can not learn a technology unless we use it; This
training is one of the best ways to learn flex.
This is a video training course which nicely covers both the
theoretical as well as hands on aspects of using flex.
There are hands on exercises in between the topics which help in
keeping the interest on.

Documentation
http://www.adobe.com/support/documentation/en/flex/
This page has all the links that you would need for learning flex as
well as for daily reference while doing development.
Developers guide on this page is one of the places where you will find
most exhaustive information that you would need.

Component Explorer
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html
Flex is relatively new language and is still evolving; so at times it
becomes difficult to imagine what all is possible using flex.
This component explorer helps you understand what all you can do using
flex and also gives you sample codes for all the examples. All you
need to do is find out what suits best to your requirements.

Official Blog
http://forums.adobe.com/community/flex
A very convenient way of getting answers is to post your queries on
this blog.

Components
http://flex.org/software/components
You will find many interesting components and ideas here, download
them and try.

Some more components

•http://fleksray.org/adobe_flex_components_en.html
•http://code.google.com/p/flexlib/wiki/ComponentList
Flex learning paths
http://www.adobe.com/devnet/flex/learn/
It does not matter if you are a developer, Manager or Architect; this
tutorial/training will help you a long way.

Tour de flex
http://www.adobe.com/devnet/flex/tourdeflex/web/
Just like the component explorer, this one has a broad set of examples
of what is possible and how to correctly do it. A very good reference
for developers.

Who is using flex?
http://flex.org/showcase/
These are some real life examples of websites that have chosen flex
over other technologies and are happy about that.
Some of other well known sites are

•http://www.sony.com
•http://www.scion.com/
•http://www.sumo.fi/products/sumopaint/index.php?id=0

Regards
Harjot Narula

On Feb 21, 10:01 am, Raj mdar...@gmail.com wrote:
 Hello Evereone,

 I am new to Flex. Matter of fact first time working on anything(OOP)
 other than database development. Can you please suggest me the steps
 to learn Flex? It is my job requirement and I need to convert screens
 using Flex 3.0.

 Thanks
 Raj

-- 
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:28731] Re: Steps to Learn Flex

2010-02-22 Thread Harjot Narula
Hi Raj,

Video Training
This (http://www.adobe.com/devnet/flex/videotraining/) is the best way
to learn flex.
We all know that we can not learn a technology unless we use it; This
training is one of the best ways to learn flex.
This is a video training course which nicely covers both the
theoretical as well as hands on aspects of using flex.
There are hands on exercises in between the topics which help in
keeping the interest on.

Other than this here is the a list of online resources

Documentation
http://www.adobe.com/support/documentation/en/flex/
This page has all the links that you would need for learning flex as
well as for daily reference while doing development.
Developers guide on this page is one of the places where you will find
most exhaustive information that you would need.

Component Explorer
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html
Flex is relatively new language and is still evolving; so at times it
becomes difficult to imagine what all is possible using flex.
This component explorer helps you understand what all you can do using
flex and also gives you sample codes for all the examples. All you
need to do is find out what suits best to your requirements.

Official Blog
http://forums.adobe.com/community/flex
A very convenient way of getting answers is to post your queries on
this blog.

Components
http://flex.org/software/components
You will find many interesting components and ideas here, download
them and try.

Some more components

•http://fleksray.org/adobe_flex_components_en.html
•http://code.google.com/p/flexlib/wiki/ComponentList
Flex learning paths
http://www.adobe.com/devnet/flex/learn/
It does not matter if you are a developer, Manager or Architect; this
tutorial/training will help you a long way.

Tour de flex
http://www.adobe.com/devnet/flex/tourdeflex/web/
Just like the component explorer, this one has a broad set of examples
of what is possible and how to correctly do it. A very good reference
for developers.

Who is using flex?
http://flex.org/showcase/
These are some real life examples of websites that have chosen flex
over other technologies and are happy about that.
Some of other well known sites are

•http://www.sony.com
•http://www.scion.com/
•http://www.sumo.fi/products/sumopaint/index.php?id=0

Regards
Harjot Narula

On Feb 21, 10:01 am, Raj mdar...@gmail.com wrote:
 Hello Evereone,

 I am new to Flex. Matter of fact first time working on anything(OOP)
 other than database development. Can you please suggest me the steps
 to learn Flex? It is my job requirement and I need to convert screens
 using Flex 3.0.

 Thanks
 Raj

-- 
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.



Re: [flex_india:28732] Re: Steps to Learn Flex

2010-02-22 Thread Ajay Rungta
Hi Raj,

Adding to Component Explorer by Harjot, have a look at Style Explorer as
well
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#

If you would like to read a book, go for this one (e-snips)
O'Reilly Learning Flex 3 - Alaric Cole - 2008

And yes, livedocs from Adobe
http://livedocs.adobe.com/flex/3/html/index.html

http://livedocs.adobe.com/flex/3/html/index.htmlWell, the video training
is definitely the best.

Regards
Ajay Rungta

On Mon, Feb 22, 2010 at 11:37 PM, Harjot Narula harjotnar...@yahoo.comwrote:

 Hi Raj,

 Video Training
 This (http://www.adobe.com/devnet/flex/videotraining/) is the best way
 to learn flex.
 We all know that we can not learn a technology unless we use it; This
 training is one of the best ways to learn flex.
 This is a video training course which nicely covers both the
 theoretical as well as hands on aspects of using flex.
 There are hands on exercises in between the topics which help in
 keeping the interest on.

 Other than this here is the a list of online resources

 Documentation
 http://www.adobe.com/support/documentation/en/flex/
 This page has all the links that you would need for learning flex as
 well as for daily reference while doing development.
 Developers guide on this page is one of the places where you will find
 most exhaustive information that you would need.

 Component Explorer
 http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html
 Flex is relatively new language and is still evolving; so at times it
 becomes difficult to imagine what all is possible using flex.
 This component explorer helps you understand what all you can do using
 flex and also gives you sample codes for all the examples. All you
 need to do is find out what suits best to your requirements.

 Official Blog
 http://forums.adobe.com/community/flex
 A very convenient way of getting answers is to post your queries on
 this blog.

 Components
 http://flex.org/software/components
 You will find many interesting components and ideas here, download
 them and try.

 Some more components

 •http://fleksray.org/adobe_flex_components_en.html
 •http://code.google.com/p/flexlib/wiki/ComponentList
 Flex learning paths
 http://www.adobe.com/devnet/flex/learn/
 It does not matter if you are a developer, Manager or Architect; this
 tutorial/training will help you a long way.

 Tour de flex
 http://www.adobe.com/devnet/flex/tourdeflex/web/
 Just like the component explorer, this one has a broad set of examples
 of what is possible and how to correctly do it. A very good reference
 for developers.

 Who is using flex?
 http://flex.org/showcase/
 These are some real life examples of websites that have chosen flex
 over other technologies and are happy about that.
 Some of other well known sites are

 •http://www.sony.com
 •http://www.scion.com/
 •http://www.sumo.fi/products/sumopaint/index.php?id=0

 Regards
 Harjot Narula

 On Feb 21, 10:01 am, Raj mdar...@gmail.com wrote:
  Hello Evereone,
 
  I am new to Flex. Matter of fact first time working on anything(OOP)
  other than database development. Can you please suggest me the steps
  to learn Flex? It is my job requirement and I need to convert screens
  using Flex 3.0.
 
  Thanks
  Raj

 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




-- 

http://ajayrungta.com/blog

-- 
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:28733] Online Training/Help Requested

2010-02-22 Thread Ars
Hello,

Is there any online training available for Flex?
I am new to Flex.

Please reply with your contact detail, if you are interested in giving
training.

Thanks
Arshad

-- 
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:28734] Remove vertical line in the datagrid header

2010-02-22 Thread pradeepflex
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:28735] Flex Context menu with Icon

2010-02-22 Thread prasad
Hi,

Is any possible to show the icons in the context menu. For
example, The context menu list like Open, Save, Exit and I need
to show the appropriate icons on left side of the context menu list.


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:28736] Regarding Httpservice and Database.

2010-02-22 Thread Venkatesan Ramdoss
hi,

 In Flex I place datagrid in my page and add checkbox in datagrid
row   as a Itemrenderer.  Now i need to delete those rows which are
checked in grid and gets   deleted on click of the DELETE button. But
i am not able to get  deleted  in grid as well as in the database.


Please provide me the solution to solve the problem.

 Thanks and Regards,

venkat.R

-- 
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

2010-02-22 Thread Hari Narayanan
Use an empty image as headerSeparatorSkin (ie.;
headerSeparatorSkin={AssetLib.spacer})

-Hari

On Feb 23, 9:42 am, pradeepflex pradeepflex.gr...@gmail.com 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:28738] int to ByteArray

2010-02-22 Thread yogesh patel
Hi ,

 how to convert int and uint to ByteArray?

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



Re: [flex_india:28740] interview questions aditya birla anyone plZ discuss

2010-02-22 Thread raghavendra gunda
Component Lifecycle

All Flex components have three phases in their life cycle : –
 The initialisation phase,
 The update phase and
 The destruction phase .


On 2/22/10, Vaibhav Seth seth.vaibhav...@gmail.com wrote:
 1) Variable cant be passed directly to itemRenderer, to pass its value it
 must be passed as a property of the Object, which is passed to the renderer.
 To access the value in the renderer use data.propertyName in the
 itemrenderer.


 On Mon, Feb 22, 2010 at 1:07 AM, lakshminarayan k
 naraya...@gmail.comwrote:

 hi all
 *Here some discsions about aditya birla interview session*
 *1.How to pass varibale in item renderer?*
 *2.what is diff beween java actionscript?*
 *3.what is the use of commit  measure ?*
 *4.how to override uicomponnet class when extend that?what kind methods
 will useds when extend UI Componet class to create combobox?*
 *5,what is the diffrence between overloading  overridingin AS3 with
 examples?*
 *6.how refresh web application?*
 *7.what is use of constructor in As3?when to use this super?interface?*
 **
 *8.component life cycle?*
 *9 Displaylist()?*
 *10?update displayList()?*
 *11.remote objects?*
 *12.when extending a UI component hou to override methods?*
 *13.how to acces  tree elemets from tree list ?*
 **
 *plz anyone discuss answers for easy to get on interviews*
 *thanks  regards*
 *...@ks*
 **


 --
 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.comflex_india%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.




 --
 Thanks,
 Vaibhav Seth.

 --
 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.



-- 
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:28739] Security Error accessing url

2010-02-22 Thread Shankar Ganesh.AP PitchaiMuthu
Hi Guys,
  I am doing Flex webservices application,while calling websevices in
flex i am getting error[security error accessing url,Unable to load WSDL. If
currently online, please verify the URI and/or format of the WSDL
(http://ipaddress:portnumber/WebServiceProject/CalculatorPort?wsdl)']

-- 
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:28741] Re: SQL on Flex

2010-02-22 Thread FLEX INDIA
Hello, could you give me your personal mail to send you my project in
order you can see the complete code?

On 17 feb, 05:55, FLEX INDIA danluev...@gmail.com wrote:
 Hello, I'm working with the integredSQLonFlexbut I have a little
 issue:

 I try to work with 2 differents tables with the same file, I mean, I
 have the following components:

 6 textinputs (3 for each table)
 2 add buttons (1 for each table)
 2 datagrid (1 for each table)

 I have a class to manage all referent withSQL, I have different
 functions to each tables, I mean 1 function insertElements and
 insertEmp

 My question is, why if I have different functions only
 insertElements works?

 If some one is intersted on help me, please let me know and I could
 share my code to understand better my question.
 Thanks in advance.

 Please consider that I'm rookie onFlex.
 Dan

-- 
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:28742] Re: Steps to Learn Flex

2010-02-22 Thread Ars
Hi  Ajay and Harjot,

Thanks you so much for your reply and suggestions. I have been using
few of these documentation/blogs/video training etc suggested by you
guys and I have book marked others.
So far I have created few screens, connected to database, populated
datagrid, parsed XMLlist, calling report etc by taking help from
various example but still it is a black box for me. Do I need to study
Object Oriented Programming before understanding Flex events, class
etc?

Thanks
Arshad(Raj)

On Feb 22, 11:44 am, Ajay Rungta rungta.a...@gmail.com wrote:
 Hi Raj,

 Adding to Component Explorer by Harjot, have a look at Style Explorer as
 wellhttp://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleEx...

 If you would like to read a book, go for this one (e-snips)
 O'Reilly Learning Flex 3 - Alaric Cole - 2008

 And yes, livedocs from Adobehttp://livedocs.adobe.com/flex/3/html/index.html

 http://livedocs.adobe.com/flex/3/html/index.htmlWell, the video training
 is definitely the best.

 Regards
 Ajay Rungta

 On Mon, Feb 22, 2010 at 11:37 PM, Harjot Narula harjotnar...@yahoo.comwrote:





  Hi Raj,

  Video Training
  This (http://www.adobe.com/devnet/flex/videotraining/) is the best way
  to learn flex.
  We all know that we can not learn a technology unless we use it; This
  training is one of the best ways to learn flex.
  This is a video training course which nicely covers both the
  theoretical as well as hands on aspects of using flex.
  There are hands on exercises in between the topics which help in
  keeping the interest on.

  Other than this here is the a list of online resources

  Documentation
 http://www.adobe.com/support/documentation/en/flex/
  This page has all the links that you would need for learning flex as
  well as for daily reference while doing development.
  Developers guide on this page is one of the places where you will find
  most exhaustive information that you would need.

  Component Explorer
 http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html
  Flex is relatively new language and is still evolving; so at times it
  becomes difficult to imagine what all is possible using flex.
  This component explorer helps you understand what all you can do using
  flex and also gives you sample codes for all the examples. All you
  need to do is find out what suits best to your requirements.

  Official Blog
 http://forums.adobe.com/community/flex
  A very convenient way of getting answers is to post your queries on
  this blog.

  Components
 http://flex.org/software/components
  You will find many interesting components and ideas here, download
  them and try.

  Some more components

  •http://fleksray.org/adobe_flex_components_en.html
  •http://code.google.com/p/flexlib/wiki/ComponentList
  Flex learning paths
 http://www.adobe.com/devnet/flex/learn/
  It does not matter if you are a developer, Manager or Architect; this
  tutorial/training will help you a long way.

  Tour de flex
 http://www.adobe.com/devnet/flex/tourdeflex/web/
  Just like the component explorer, this one has a broad set of examples
  of what is possible and how to correctly do it. A very good reference
  for developers.

  Who is using flex?
 http://flex.org/showcase/
  These are some real life examples of websites that have chosen flex
  over other technologies and are happy about that.
  Some of other well known sites are

  •http://www.sony.com
  •http://www.scion.com/
  •http://www.sumo.fi/products/sumopaint/index.php?id=0

  Regards
  Harjot Narula

  On Feb 21, 10:01 am, Raj mdar...@gmail.com wrote:
   Hello Evereone,

   I am new to Flex. Matter of fact first time working on anything(OOP)
   other than database development. Can you please suggest me the steps
   to learn Flex? It is my job requirement and I need to convert screens
   using Flex 3.0.

   Thanks
   Raj

  --
  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.comflex_india%2bunsubscr...@googlegrou­ps.com
  .
  For more options, visit this group at
 http://groups.google.com/group/flex_india?hl=en.

 --

 http://ajayrungta.com/blog- 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_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:28743] combobox gets blank once value is selected

2010-02-22 Thread Ars
Hello Experts,

I have following piece of code from main mxml and below that I have
component code for Combobox. Please let me know what is wrong in my
code. It wipe the value once I select values from combo box. I am
using label function to decode values as Yes/No when populating Data
Grid from the database. Also I will appreciate if I get a standard way
to display Yes/No list to display and store values(Y/N) in database.
My code is based on various examples given on this topic. Sorry if I
have made the Code-cocktail.

Thanks a lot.
Arshad

main.mxml
-
[Bindable] private var queryData:ArrayCollection = new
ArrayCollection();
--
--
mx:DataGrid id=dgGrid width=644 dataProvider={queryData}
height=270 editable=true 
--
-
mx:DataGridColumn width=175 textAlign=center
headerText=Tax
sortable=false
dataField=tax
labelFunction=taxLabel
editable=true
editorDataField=value
   itemEditor=yesNoComboBox
/mx:DataGridColumn

-Item Render yesNoComboBox --
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
 
implements=mx.controls.listClasses.IDropInListItemRenderer,mx.managers.IFocusManagerComponent

mx:Script
![CDATA[
   import flash.events.Event;
import mx.controls.DataGrid;

private var _listData:DataGridListData;
// Define a property for returning the new value to the
cell.
[Bindable]
public var value:Object ;

// Implement the drawFocus() method for the VBox.
override public function drawFocus(draw:Boolean):void {
cbo.setFocus();
}

override public function get data():Object {
return super.data;
}

   /*   override public function set data(value:Object):void {
cbo.data=value[_listData.dataField];
} */

override public function set data(value:Object):void
{
if(value != null)
{
super.data = value;
// set itemRenderer’s state based on 
data value
cbo.selectedItem = value;
}
}
public function get listData():BaseListData
{
return _listData;
}

public function set listData(value:BaseListData):void
{
_listData = DataGridListData(value);
}

 public function changeHandler(event:Event):void
{
trace(String(cbo.selectedItem))
data.selected=String(cbo.selectedItem);
 
IList(DataGrid(owner).dataProvider).itemUpdated(cbo.selectedItem);
}


]]
/mx:Script
mx:Binding destination=value source=cbo.value/

mx:ComboBox id=cbo editable=true width=100%
dataChange=changeHandler(event)
 creationComplete=cbo.selectedItem = data.selected 
mx:dataProvider
mx:StringYes/mx:String
mx:StringNo/mx:String
/mx:dataProvider
/mx:ComboBox
/mx:VBox

-- 
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.



Re: [flex_india:28745] Online Training/Help Requested

2010-02-22 Thread kosal bhati
yes .i m instrested...

-- 
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.



Re: [flex_india:28744] Online Training/Help Requested

2010-02-22 Thread raghavendra gunda
yes availabe

On 2/22/10, Ars mdar...@gmail.com wrote:
 Hello,

 Is there any online training available for Flex?
 I am new to Flex.

 Please reply with your contact detail, if you are interested in giving
 training.

 Thanks
 Arshad

 --
 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.



-- 
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.



Re: [flex_india:28746] combobox gets blank once value is selected

2010-02-22 Thread pradeep gorijavolu
please see and use combox.selectedIndex= -1

this will be useful for u

Regards,
Pradeep

On Tue, Feb 23, 2010 at 2:44 AM, Ars mdar...@gmail.com wrote:

 Hello Experts,

 I have following piece of code from main mxml and below that I have
 component code for Combobox. Please let me know what is wrong in my
 code. It wipe the value once I select values from combo box. I am
 using label function to decode values as Yes/No when populating Data
 Grid from the database. Also I will appreciate if I get a standard way
 to display Yes/No list to display and store values(Y/N) in database.
 My code is based on various examples given on this topic. Sorry if I
 have made the Code-cocktail.

 Thanks a lot.
 Arshad

 main.mxml
 -
 [Bindable] private var queryData:ArrayCollection = new
 ArrayCollection();
 --
 --
 mx:DataGrid id=dgGrid width=644 dataProvider={queryData}
 height=270 editable=true 
 --
 -
 mx:DataGridColumn width=175 textAlign=center
headerText=Tax
sortable=false
dataField=tax
 labelFunction=taxLabel
editable=true
editorDataField=value
   itemEditor=yesNoComboBox
 /mx:DataGridColumn

 -Item Render yesNoComboBox --
 mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;


 implements=mx.controls.listClasses.IDropInListItemRenderer,mx.managers.IFocusManagerComponent

mx:Script
![CDATA[
   import flash.events.Event;
import mx.controls.DataGrid;

private var _listData:DataGridListData;
// Define a property for returning the new value to the
 cell.
[Bindable]
public var value:Object ;

// Implement the drawFocus() method for the VBox.
override public function drawFocus(draw:Boolean):void {
cbo.setFocus();
}

override public function get data():Object {
return super.data;
}

   /*   override public function set data(value:Object):void {
cbo.data=value[_listData.dataField];
} */

override public function set data(value:Object):void
{
if(value != null)
{
super.data = value;
// set itemRenderer’s state based on
 data value
cbo.selectedItem = value;
}
}
public function get listData():BaseListData
{
return _listData;
}

public function set listData(value:BaseListData):void
{
_listData = DataGridListData(value);
}

 public function changeHandler(event:Event):void
{
trace(String(cbo.selectedItem))
data.selected=String(cbo.selectedItem);

 IList(DataGrid(owner).dataProvider).itemUpdated(cbo.selectedItem);
}


]]
/mx:Script
mx:Binding destination=value source=cbo.value/

mx:ComboBox id=cbo editable=true width=100%
 dataChange=changeHandler(event)
 creationComplete=cbo.selectedItem = data.selected 
mx:dataProvider
mx:StringYes/mx:String
mx:StringNo/mx:String
/mx:dataProvider
/mx:ComboBox
 /mx:VBox

 --
 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.comflex_india%2bunsubscr...@googlegroups.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.



Re: [flex_india:28747] Re: Remove vertical line in the datagrid header

2010-02-22 Thread pradeep gorijavolu
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 kphari.naraya...@gmail.com
 wrote:

 Use an empty image as headerSeparatorSkin (ie.;
 headerSeparatorSkin={AssetLib.spacer})

 -Hari

 On Feb 23, 9:42 am, pradeepflex pradeepflex.gr...@gmail.com 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.comflex_india%2bunsubscr...@googlegroups.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.