SvenWS
31 Aug 2010, 1:39 PM
Sencha Touch version tested:
0.9 rev 3
only default ext-all.css
Platform tested against:
iOS 3.x
Description:
The config option selectedCls of the DataView defaults not to the build in class 'x-item-selected' as documented. It's also not enough to set it: you have copy the definition to your own style definition to get the selection class work. It's the same with the undocumented config option pressedCls: I would expect that the class is enabled by default for the DataView.
Steps to reproduce the problem:
Just build a Dataview and set the singleSelect to true.
The result that was expected:
The items are not highlighted when pressed and not showed as selected.
Debugging already done:
Yes
Possible fix:
Copy the original classes or build own classes and set the selectedCls and/or the pressedCls config option to these classes
0.9 rev 3
only default ext-all.css
Platform tested against:
iOS 3.x
Description:
The config option selectedCls of the DataView defaults not to the build in class 'x-item-selected' as documented. It's also not enough to set it: you have copy the definition to your own style definition to get the selection class work. It's the same with the undocumented config option pressedCls: I would expect that the class is enabled by default for the DataView.
Steps to reproduce the problem:
Just build a Dataview and set the singleSelect to true.
The result that was expected:
The items are not highlighted when pressed and not showed as selected.
Debugging already done:
Yes
Possible fix:
Copy the original classes or build own classes and set the selectedCls and/or the pressedCls config option to these classes