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
again subgrid
30/09/2013
19:54
Avatar
setest
Kazan
Member
Members
Forum Posts: 8
Member Since:
08/09/2013
sp_UserOfflineSmall Offline

Hello, Friends. In subgrid trigger "jqGridAddEditBeforeShowForm" not created (and im believe that similar triggers not created too). Whats why we can not bind this event. If im wrong please correct me.

02/10/2013
12:31
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

The subgrid has uniquie ID.

How you bind this event?

Are you sure the you bind it to the right jqGrid existing id.

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.

03/10/2013
21:16
Avatar
setest
Kazan
Member
Members
Forum Posts: 8
Member Since:
08/09/2013
sp_UserOfflineSmall Offline

I used this bind:

$('*').on('jqGridAddEditBeforeShowForm',function(e,data) {}

I just had an idea, may be it`s not binded because this element created in DOM dynamically?

04/10/2013
11:09
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I do not think that this is the right way to do this.

Please try with defining the event when the subgrid is created.

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.

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

I check it, and for me its not working again. And even if I set this event in console (firebug for example), its not bind too.

17/10/2013
14:39
Avatar
setest
Kazan
Member
Members
Forum Posts: 8
Member Since:
08/09/2013
sp_UserOfflineSmall Offline

Вобщем опять столкнулся с этой проблемой, и подчерпнул что НИКАК не могу перехватить события сабгрида, очень расстраивает, что не могу узнать загрузился ли он у меня или нет из-за этого (используя перехват событий). Также я попробовал из консоли вызвать параметры сабгрида, после того как он построился, и опять же не могу этого сделать, кроме элемента DOM он мне ничего не показывает. Мне кажется это связано с областью видимости. К примеру если грид строиться с помощью JqGridPhp я не могу получить доступ к объекту, а если я его строю ручками, то  ("#grid10").getGridParam(); в консоле и все в ажуре. Мне не понятно, что происходит. Мудрый человек, подскажи, в чем загвоздка?

18/10/2013
11:13
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Ð’ общем,  я не мудрый Wink

Can you please post a simple code demostarting the problem or send it to me, so that I can look  what is happen.

Regards

P.S. Please make the example as simple as possible.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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