Right clicking does not fire a cellClick or click event.
On Sat, Jun 16, 2012 at 11:40 PM, Debora Lopez <[email protected]> wrote:
> Hi Scott,
>
> This is one way to do it:
>
> 1. Get the focused Row on cell click
> table.addListener("cellClick", *function*(event) {
> * this*.__focusedRow = event.getRow();
> ...
> }
>
> 2. Then in
> table.addListener("click", *function*(event) {
> *if* (event.getButton() == "right") {
> can use this.__focusedRow here
> }
> }
>
> Dvora
>
>
>
> From: Scott Chapman <[email protected]>
> To: qooxdoo Development <[email protected]>
> Date: 16/06/2012 00:12
> Subject: [qooxdoo-devel] How to get currently selected row in
> table in a right-click menu context?
> ------------------------------
>
>
>
> I need to be able to get the table row that is currently selected within
> the right-click menu context. So there's not Event object to do this with,
> like I would in a cellDblclick for instance:
>
> var row = tableModel.getRowData(e.getRow());
>
> So what is the magic to get the currently selected row in a table in the
> context of a menu?
>
> Thanks!
> Scott
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel