Home › Forums › Bugs › again subgrid
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
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
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?
I do not think that this is the right way to do this.
Please try with defining the event when the subgrid is created.
I check it, and for me its not working again. And even if I set this
Вобщем опÑть ÑтолкнулÑÑ Ñ Ñтой проблемой, и подчерпнул что ÐИКÐК не могу перехватить ÑÐ¾Ð±Ñ‹Ñ‚Ð¸Ñ Ñабгрида, очень раÑÑтраивает, что не могу узнать загрузилÑÑ Ð»Ð¸ он у Ð¼ÐµÐ½Ñ Ð¸Ð»Ð¸ нет из-за Ñтого (иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ð¿ÐµÑ€ÐµÑ…Ð²Ð°Ñ‚ Ñобытий). Также Ñ Ð¿Ð¾Ð¿Ñ€Ð¾Ð±Ð¾Ð²Ð°Ð» из конÑоли вызвать параметры Ñабгрида, поÑле того как он поÑтроилÑÑ, и опÑть же не могу Ñтого Ñделать, кроме Ñлемента DOM он мне ничего не показывает. Мне кажетÑÑ Ñто ÑвÑзано Ñ Ð¾Ð±Ð»Ð°Ñтью видимоÑти. К примеру еÑли грид ÑтроитьÑÑ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ JqGridPhp Ñ Ð½Ðµ могу получить доÑтуп к объекту, а еÑли Ñ ÐµÐ³Ð¾ Ñтрою ручками, то
В общем,
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS