Skip to main content
Inspiring
December 21, 2012
Question

Tooltips with DataGrid

  • December 21, 2012
  • 1 reply
  • 688 views

I have my own "button" class (extends movieclip) that dispatch their own looltip events which are then used to show information related to the action of that button.

I have a data grid with rows of events and I want those rows to tie into my established tooltipping system. I'm guessing I can use the rollover event to start a timer (killing the timer with a rollout or click) to dispatch an event and get some information about what I've rolled over and use that to retrieve the info for the tooltip. Right?

Anybody have any suggestions or ideas on this? Pitfalls?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 21, 2012

are you planning on adding your class elements to the datagrid?

RothrockAuthor
Inspiring
December 21, 2012

I wasn't planning to do so. They just handle the normal button things like up-over-down-disabled (and they also have a toggled state to show selected-not selected).

The datagrid rows just show the titles of upcoming events and their associated dates. I want the tooltip to show a little more detail.

kglad
Community Expert
Community Expert
December 21, 2012

just add the tooltip to each datagrid item that needs one.  you won't have a column corresponding to the tooltip so it won't be displayed in the datagrid. 

you can then use any of the datagrid events to display the tooltip.