Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Columnchooser double click vs single click
12/06/2014
23:39
Avatar
ilagi
Member
Members
Forum Posts: 6
Member Since:
12/06/2014
sp_UserOfflineSmall Offline

Hi,

I use the columnchooser of jqgrid and my users complain that due to the single clicking on the column names moves the columns from one side to the other (from selected to available or vica-versa) they accidentally move things when they click.

Is it possible to change this, so only double-click would move the cells in the column chooser between the currently displayed and available list?

 

Thanks,

Ilagi

13/06/2014
11:48
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

This is a good question.
Unfortunately this is not supported. This depend on multiselect plugin distributed with jqGrid.
I have look into code and see that only a click is supported, but ....
If you are familiar with JavaScript you can easy make this to work depending on your needs -
just open multiselect.js and see the jQuery click functions replace the need (not all) with dblclick.

Kind Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

17/06/2014
00:07
Avatar
ilagi
Member
Members
Forum Posts: 6
Member Since:
12/06/2014
sp_UserOfflineSmall Offline

Hi Tony,

Thanks for the idea! You were right, it took me 5 seconds to change this, I just had to change

selectionMode: 'click,d&d'

to

selectionMode: 'dblclick,d&d'

in the jquery.uix.multiselect.js

 

Thanks!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
48 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information