shi11i
shi11i

Reputation: 1548

Flex/Air datagrid open ContextMenu using mouseDown rather than rightMouseDown?

In a Flex 4/Air app, I've got an itemrenderer in a column of a Datagrid. I'd like the item to open the ContextMenu on itemRenderer.mouseDown but it seems to only work with itemRenderer.rightMouseDown. Any ideas as to why? and/or a good workaround?

thnx in advance.

Upvotes: 0

Views: 758

Answers (2)

shi11i
shi11i

Reputation: 1548

To answer my own question, a class can force a contextmenu to open by calling contextMenu.display(stage, x, y);

Upvotes: 1

JeffryHouser
JeffryHouser

Reputation: 39408

I like to call it UI Precedent.

Why do you want to change the common convention that users have already been trained to learn?

Upvotes: 0

Related Questions