hi Jonathan,

The problem here is, I have checkbox in one column and radio button in
another column (for each row). I can know the row index, but with row index
i cant identify, if the user had clicked on radiobutton column or checkBox
column. So I need only the column number and row number when the user clicks
on a row. 

So, listening to 'cellClick' event would solve my problem here. But, as i
also have to support multiple selection , i have to do some task on multiple
rows selected. So, if I listen to the 'changeSelection' event for some
reason 'cellClick' event is not fired. I dont need to use 'changeSelection'
event if I select the multiple rows using mouse clicks. The only problem is,
if I use keyboard to select multiple rows, 'cellClick' event is not getting
fired. 

hope you understood. Let me know if you need any more info on this. 

Thanks in advance.

Cheers,
Robust

Jonathan Weiß wrote:
> 
> Hallo Robust,
> 
> you can use getRowData() to read the information inside the rows:
> table.getTableModel().getRowData(index)
> 
> The index (min/max) of the selected rows can be read from the table  
> selection model:
> e.g. event.getTarget().getSelectedRanges();
> 
> Kind regards,
> Jonathan
> 
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/changeSelection-event-in-a-table-tp2423538p2430630.html
Sent from the qooxdoo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to