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
Navkeys click triggers rows selection
26/08/2011
16:12
Avatar
Strato
Paris, France
Member
Members
Forum Posts: 6
Member Since:
29/07/2011
sp_UserOfflineSmall Offline

Hello,

I'm using formedit together with the multiselect option.

My problem is that when the navkeys are clicked in the form popup, it triggers the selection of rows on the grid.

Is there a way to prevent that?

I already prevented rows being selected by clicking directly on them with this piece of code :

"onCellSelect": function (rowid, iCol, cellcontent, e) { if (iCol > 1) { myGrid.jqGrid('setSelection', rowid, false); } }

Thanks for your help.

29/08/2011
19:16
Avatar
Strato
Paris, France
Member
Members
Forum Posts: 6
Member Since:
29/07/2011
sp_UserOfflineSmall Offline

For the record, this how I solved my problem (in both edit and view options of formedit) :

"afterclickPgButtons": function (whichbutton, formid, rowid) {
    myGrid.jqGrid('setSelection', rowid, false);

}

This will put the row in whatever selection state it was before.

30/08/2011
15:30
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

Thank you. I tried and this fixes the issue.

Tony,

can you fix this issue, please ?

08/09/2011
18:04
Avatar
Strato
Paris, France
Member
Members
Forum Posts: 6
Member Since:
29/07/2011
sp_UserOfflineSmall Offline

I keep having an erratic behavior on this.

Now it's when a record is submitted to server through formedit. After the completion of the operation (successfull or not), the row that is being edited is selected in the grid. If it was already selected, its state is not changing (still selected), so there is no way this time for me to now if I have to select or unselect it.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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