Hi Dan,
I use successfully:
tbl.getSelectionModel().addEventListener('selectionChanged', function() {
alert('We got it');
});
I don't guess by trial and error, but by looking the source code. Luckily,
Qooxdoo source code is quite easy to understand.
It is easy to confuse between focused row and selected rows.
Dan1234 wrote:
>
> Apologies as this is probably rearlly easy, but after reading searching
> and playing for a day, I'm none the wiser...
>
> How do you create an event that fires when a user highlights a table row
> or changes the table row selected?
>
> I've been trying all combinations along the lines of:
> table.getSelectionModel().addEventListener("changeSelection", function(e)
> {
> alert("At last!");
> });
> table.getSelectionModel().addEventListener("changeSelected", function(e) {
> alert("At last!");
> });
>
> tableModel.getSelectionModel().addEventListener("changeSelection",
> function(e) {
> alert("At last!");
> });
>
> etc....
> Please help me, this is driving me crazy...
>
> Thanks
> Dan
>
--
View this message in context:
http://www.nabble.com/Table-row-select-event-tf2296682.html#a6382669
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel