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
Then colapsing subgid setSelection is not set.
28/09/2013
14:48
Avatar
setest
Kazan
Member
Members
Forum Posts: 8
Member Since:
08/09/2013
sp_UserOfflineSmall Offline

JqGrid 4.52

Hello, I think its not bug, and may be not realy need. But in my situation it indeed need.

More: I bind 2 events (jqGridSubGridRowExpanded and jqGridSubGridRowColapsed). Then I expand row, i know that row user is clicked. But then subgrid is colapsed, setSelection is not set, and in triggerHandler we only have OLD selection. In source code we see:

if($(this).hasClass("sgcollapsed")) {......      

$(ts).jqGrid('setSelection',_id)

But in

else if($(this).hasClass("sgexpanded")) {

we have nothing.

Кто не понял могу по-русски, а то с английским у меня не все хорошо.

30/09/2013
11:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Я все понимаю Wink.

And now in English.

This is true. I'm not sure what to do in the future. Currently in order to solve your problem you can do

setSelection in your jqGridSubGridRowColapsed.

Regards

Tony

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.

30/09/2013
15:51
Avatar
setest
Kazan
Member
Members
Forum Posts: 8
Member Since:
08/09/2013
sp_UserOfflineSmall Offline

Very thanks for answer, Tony! I already decided this problem similarly. Just i think what this properties need to include in parameters of grid. Then anyone can use it for self discretion. But its issue (спорный вопрос) because, there are other solutions.... 

06/10/2013
11:57
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello.

I have added a option selectOnCollapse in subgrid options which when set will select the row when it is collapsed.

Also it will be available in the new version, whch is suppopsed to be released today.

Regards

Tony

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.

06/10/2013
19:42
Avatar
setest
Kazan
Member
Members
Forum Posts: 8
Member Since:
08/09/2013
sp_UserOfflineSmall Offline

This is good news for us. Very thanks Tony.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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