PF showcase: http://www.primefaces.org/showcase-labs ... ltiple.jsf
When I click a row and the row is selected, and then I click another row to select it, it selected as expected, but the first selected row changes to unselected, that is not what I want. In my opinion, when click one row ,the row should be selected, and clicked another row will not affect selected rows, the only way to unselect row is click it once again.
Maybe that is a request for many user. Of course, ctrl and shift key multiple selection should works either.
Thanks.
New request for PF datatable multiRowSelect
The behaviour now is like it is on almost all systems. Using ctrl- and shift-... the other behaviour is most likely not going to be implemented (no requests for it). But you are of course always allowed to modify the code...
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Unlikely to be implemented as behavior is copied from file systems, excel and other ui tools.
Hi optimus.prime,optimus.prime wrote:Unlikely to be implemented as behavior is copied from file systems, excel and other ui tools.
As a end-user, I think this behaviour should be implemented, that is user's habits.
to kukeltje
You said could modify the code, but I can't find any js code on row(tr) element or its parents element as I expected, I'm not familar with YUI, where can I find the js code and modify it?
Thanks in advance.
PF 3.5
JSF 2.1 (Mojarra 2.1.19)
Glassfish 3.1.2
FF 3.6, IE 8, Chrome 25
Windows 7
NetBeans IDE 7.3
JSF 2.1 (Mojarra 2.1.19)
Glassfish 3.1.2
FF 3.6, IE 8, Chrome 25
Windows 7
NetBeans IDE 7.3
Hi kukeltje, thanks for your reply. I found the script behind the datatable html elements, and I saw all js events are bind dynamiclly. The script is not in datatable.js file, but in primefaces.js.jsf and a lot of ui's script is in it, so there is a little difficult to modify it, even so I'll have a try.kukeltje wrote:Datatable.js in the source... And it is not you, but jquery...
I use PF 3.3-snapshort, maybe you mean older versions.
Thanks again.
PF 3.5
JSF 2.1 (Mojarra 2.1.19)
Glassfish 3.1.2
FF 3.6, IE 8, Chrome 25
Windows 7
NetBeans IDE 7.3
JSF 2.1 (Mojarra 2.1.19)
Glassfish 3.1.2
FF 3.6, IE 8, Chrome 25
Windows 7
NetBeans IDE 7.3
-
- Information
-
Who is online
Users browsing this forum: No registered users and 45 guests