Thank you for reporting this bug. We will make it our priority to review this report.
Single mode selection model ignores allowDeselect and toggleOnClick options
Single mode selection model ignores allowDeselect and toggleOnClick options
Ext version tested:
Browser versions tested against:
Non browser specificDOCTYPE tested against:
Description:
Single mode selection model ignores allowDeselect and toggleOnClick options, at least for the tree panel.According to the documetation:
/**
* @cfg {Boolean} allowDeselect
* Allow users to deselect a record in a DataView, List or Grid.
* Only applicable when the {@link #mode} is 'SINGLE'.
*//**
* @cfg {Boolean} toggleOnClick
* `true` to toggle the selection state of an item when clicked.
* Only applicable when the {@link #mode} is 'SINGLE'.
* Only applicable when the {@link #allowDeselect} is 'true'.
*/
I've configured my treepanel as followingCode:
...
selModel : {
mode : 'SINGLE',
allowDeselect : true,
toggleOnClick : true
}
...
After having selected a node when I click on a selected node it's not deselected despite the configuration givenSteps to reproduce the problem:
http://ift.tt/1ulwR2t
Select a node then click on a selected node it should be deselected, but it's not.The result that was expected:
- ExtJS 5.0.1 is to be production ready
The result that occurs instead:
- ExtJS 5.0.1 is not production ready, clanky, flaky
- Frustration
- Despair
Use the force - read the source.
Single mode selection model ignores allowDeselect and toggleOnClick options
Aucun commentaire:
Enregistrer un commentaire