selectionmodel

How do I get a selection model to work with a proxy model?

I have a model and two views set up like this: Model ---> OSortFilterProxyModel ---> OListView Model ------------------------------> OTableView When the user selects something in one of the views, I want the other view to mirror that selection. So I thought I'd use a QSelectionModel to link them together. But this does not work. I hav...

Selection mode in JTable?

I couldn't understand the Difference between multiple_selection_interval and single_interval_selection in JTable.. table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION); next, is table.setSelectionMode(ListSelectionModel.MULTIPLE_SELECTION_INTERVAL); what's the difference these? ...

In GWT-EXT checkboxtree how to handle single selection of tree nodes?

hi, I'm working on checkBoxTree in GWT-EXT 2.0.3 with Java. My aim is to get a selectionModel which allows me to select(check) only one TreeNode at a time. If I select another TreeNode after selecting one then, the previous one should be unchecked. I've tried using DefaultSelectionModel with TreePanel, but either I've not used it proper...