PDA

View Full Version : Hand Cursor with Datagrid


jodieorourke
05-26-2006, 09:04 AM
Does anyone know how to force a handCursor when when the mouse is over a datagrid?

I tried using datagrid.onPress = function(){}; but this rendered the datagrid unclickable (although the hand cursor did appear).

Any suggestions would be greatfully received!

Jodie

mayur_vnit
05-26-2006, 09:30 AM
can u not use onRollOver?

Morg
05-26-2006, 09:37 AM
I havent used datagrid, but maybe you can specify in your listener that when a rollover happens, handCursor = true?

mayur_vnit
05-26-2006, 09:58 AM
i looked into the datagrid Classes and found out that
for every new column they are attaching a new mc with the instance name "hO0" ,"hO1" ....in the header_mc

and with the follwing thing :

my_dg.header_mc.hO0.useHandCursor = true
my_dg.header_mc.hO1.useHandCursor = true

i could get the handcursor on the first two columns headings...

I know this is not the fair way ..but u may find the work arround by looking to grid classes more