[
https://issues.apache.org/jira/browse/PIVOT-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandro Martini updated PIVOT-771:
---------------------------------
Priority: Minor (was: Major)
Affects Version/s: 2.0.1
Fix Version/s: (was: 2.0.1)
2.0.2
Assignee: Sandro Martini
Reassigned to me, just to remember to make some tests.
> getSelectedIndex()/getSelectedPath() in TreeView, ListView and TableView
> should not throw Exception when in SelectMode.MULTI
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: PIVOT-771
> URL: https://issues.apache.org/jira/browse/PIVOT-771
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Affects Versions: 2.0, 2.0.1
> Reporter: Edvin Syse
> Assignee: Sandro Martini
> Priority: Minor
> Fix For: 2.0.2
>
> Attachments: getSelectedReturnsFirstSelected.patch
>
>
> This applies to TreeView, ListView and TableView. I'll use TableView in the
> example.
> If you set the TableView to SelectMode.MULTI and call getSelectedIndex(), an
> Exception is thrown. Most GUI frameworks I've worked with simply returns the
> first selected index is this case. I propose to remove the exception and
> delegate to getFirstSelectedIndex() to be more in line with other GUI
> frameworks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira