Questions tagged [selectionmodel]

Abstract class used by UI controls to provide a consistent API for maintaining selection. Used in Java(FX), GWT and other libraries / languages, too.

A SelectionModel is Model used to provide an API for maintaining data and/or visual item selection. The term SelectionModel was primarily established in the Java environment and now is used as a generally admitted term for abstract kinds of models used for data / item selection.

Resources

Java

JavaScript

80 questions
0
votes
1 answer

Delete multiple items from grid using CheckboxSelectionModel

Using ExtJs4.1 on Sencha Architect. I have following code in my onDeleteButton code onDeleteButtonClick: function(button, e, options) { var active = this.activeRecord; var myGrid = Ext.getCmp('publisherResultsGridView'), sm =…
aMazing
  • 1,430
  • 4
  • 20
  • 43
0
votes
1 answer

Qt Ignore Right Click in QItemSelectionModel

Is there anyway to detect which mouse button was clicked from inside a QItemSelectionModel? I want to block a right mouse click from changing the selection. I am using this was a QTreeWidget, so if there is a way to mask the whole thing, that would…
Rafe
  • 1,937
  • 22
  • 31
0
votes
1 answer

CheckboxCell, MultiSelectionModel unwantonly reset DataGrid's data

Using GWT 2.4... I am building upon a complex Composite dual view/edit mode implementation that is backed GWT's DataGrid and MultiSelectionModel. My goal is for a user to be able to click a checkbox in each row that they'd like to post updates…
Chris Phillipson
  • 795
  • 1
  • 15
  • 34
0
votes
1 answer

history and selection model questions

I am trying to build an app using Extjs 4.1. In general: it is a viewport with a tree panel on the west and a center panel that it is actually a tab-holder panel. When a user clicks on a tree node a tab is populating the center view. I had set an…
user734094
-3
votes
1 answer

Javafx .add and .remove not working in SelectionModel

I simply can't get this button to work - what am I doing wrong? The button is only suppose to move selected item from right list to left list - that's all. I have looked at other suggestions at StackOverflow, but end up with an error on the add and…
HRS
  • 53
  • 1
  • 9
1 2 3 4 5
6