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_Related Related Topics sp_TopicIcon
Inline Edit and sortableRows cause select and double-click issues in Firefox
05/11/2010
21:10
Avatar
Gil
Member
Members
Forum Posts: 8
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

The following issue occurs in FireFox 3.5.13 (PC) and FireFox 3.6.11 (Mac). It is not a problem in either IE8 or Safari 5.0.2. I have not tested it in any other browsers. I am using jQuery 1.4.3 and jqGrid 3.8.1.

- – – – – – – – – – – – – – – – – – – -

I have a simple grid. After the grid is defined and populated, I make it sortable by adding the following:

$('#jqg-tbl').jqGrid('sortableRows');

When I open a row for edit – using:

$('#jqg-tbl').jqGrid('editRow', id);

I cannot select the text in any of the text input boxes.

THERE IS A WORK AROUND! Make the grid sortable using:

$('#jqg-tbl tbody').sortable();

Then it performs as expected.

23/03/2014
15:26
Avatar
mscherzer
Member
Members
Forum Posts: 3
Member Since:
08/01/2014
sp_UserOfflineSmall Offline

I initially copied your solution which worked great, thanks for sharing.

The only caveat was that rows were now fully draggable, I wanted to ensure the rows only were draggable vertical and fixed horizontally. Doing the following allowed me to keep the nice vertical only dragging while at the same time allowing me to click within the in-line text fields.

$("#jqg-tbl tbody:first").enableSelection();

Thought I'd share.

cheers

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
44 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