scroll Tip Function

2005-02-25 Thread Clint Tredway
Ok, I have searched and searched how do I reference a datagrid column for 
the scroll tip function?




RE: [flexcoders] scroll Tip Function

2005-02-25 Thread Robert Brueckmann







Clint,



I see that the scrollTipFunction that you
create accepts a position parameter to the functioncant you just
refer to a column by making a call like this using the example from the API:



function
scrollTipFunction(direction:String, position:Number) : String
{
if (direction ==
vertical) {

 //
returns the name of the column youre scrolling past?

 return
myDataGrid.columns[position].columnName;

} else return ;
}



I dont know if
that works but columns is a valid attribute of the datagrid component so it
makes sense youd be able to index it, because I know Im doing
this for something else Im doinglet me know if that works













From: Clint Tredway
[mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005
3:48 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] scrollTip
Function





Ok, I have searched and searched how do I reference a datagrid
column for the scroll tip function?










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] scroll Tip Function

2005-02-25 Thread Clint Tredway



actually this is what I did to get it to work...

function scrollTipFunc(dir:String,pos:Number){
 mygrid.selectedIndex = pos;
 return mygrid.selectedItem.column;
}

just 
took awhile to find

-Original Message-From: Robert Brueckmann 
[mailto:[EMAIL PROTECTED]Sent: Friday, February 25, 
2005 3:43 PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] scroll Tip Function


Clint,

I see that the 
scrollTipFunction that you create accepts a position parameter to the 
functioncant you just refer to a column by making a call like this using the 
example from the API:

function 
scrollTipFunction(direction:String, position:Number) : 
String{if (direction == "vertical") 
{
 // 
returns the name of the column youre scrolling past?
 
return myDataGrid.columns[position].columnName;
} else return 
"";}

I dont know if 
that works but columns is a valid attribute of the datagrid component so it 
makes sense youd be able to index it, because I know Im doing this for 
something else Im doinglet me know if that works






From: Clint 
Tredway [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 3:48 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] scroll Tip 
Function

Ok, I have searched and searched how do I 
reference a datagrid column for the scroll tip 
function?




This message contains information fromMerlin Securities, LLC, 
or from one of its affiliates, that may be confidential and privileged. If you 
are not an intended recipient, please refrain from any disclosure, copying, 
distribution or use of this information and note that such actions are 
prohibited. If you have received this transmission in error, please notify the 
sender immediately by telephone or by replying to this 
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services 
offered throughMerlin Securities, LLC are not insured by the FDIC or any 
other Federal Government Agency, are not deposits of or guaranteed 
byMerlin Securities, LLCand may lose value. Nothing in this 
communication shall constitute a solicitation or recommendation to buy orsell 
a particular security.