Pardon, pardon, pardoooonnn
error is mine …
delete this thread …

…to resolve problem i've modified code in method delGridRow of file grid.formedit.js.
i've replaced line in position 563 :
if(!rowids) { return; }
with
if(undefined==rowids || rowids<0) { return; }
I've added also code to resolve another bug…
when i try to delete more than once rows in a grid by calling same method (delGridRow) div named div.loading remains visible …
i've added simply this code at position 652 (last code of complete method in ajax call):
$(“div.loading”,”#”+IDs.themodal).hide();
I hope to help you …
Bye
It is difficult (or impossible) to send you link of my application …
I've found a workaround, for now: i make a generation of a new pager (with a newer id) every time i call ajax …
My code:
openGrid=function(…){
…
$('#gridDiv').load(URL, parameters, function(responseText, textStatus, XMLHttpRequest){…})
…
}
URL refers to a JSP page in which i've defined grid …
I tried to understand point in code where pager redesign failed …
in grid.base.js, at row 1061 there's function called setPager.
It seems that after instruction
$(ts.p.pager).append(pgl+pginp+pgr);
pager does not appears … (but it is shown first time after this)
help me, please …
Hi,
try to install last version on jqgrid … 3.4.3
Have a good day
does not work …
ajax code i've used is load event of jquery …
$('#B).load(URL, null, function(responseText, textStatus, XMLHttpRequest){
no,
it does not work …
is there a method to force redesign of pager ? some function to call after grid loading (or in a setTimeout method) …
thanks
i'm using firefox…
with “pager” i refer to entire bottom bar shown after grid…
More info:
i have a div (say:A) dynamically filled with an ajax call;
In html code of A there's another div (say:B);
In these situation div B is filled with another ajax call to grid page …
Hi
I think i've resolved …
$(“.HeaderButton”).css(“display”,”none”);
ok, thanks !

have a good job
simply this…
in a grid with a column so defined:
…
Hi tony,
thanks for your response but my problem is that i can't retrieve first row of my grid …
if i try to retrieve row at index '1' i obtain data of second row shown …
thanks
i've resolved …
call to grid.setSelection(rowid) …
thanks
Hi Tony,
but if i should begin to work at rowindex 1 … i cannot retrieve first row at index '0' ?
Is it right or there'is a workaround for this version of jgrid ?
Thanks
i've resolved … thanks …
it's not too clear … i know.
🙂
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top