You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I do not think that this is a problem or bug. This is in the fact standart behaviour.
Let me explain. Before you call your own datatype function a beginReq function is called, which opened the loading message and othe things.
Usually the endReq function is called at end of the ajax request in complete function.
In your case this function is not called at end of your request, but immediatley after you call your function, so the loading message is closed immediatley and you can not see it.
So I will do the following. I will not call beginRequest when we have datatype as function (endReq too), bu will pass a additional parameter to the datatype function the unique id of the loading message, where you can easy show and hide them.
Thanks. Make the decision until write you
I’m setting the datatype option to a “Function” as described here:
http://www.secondpersonplural.ca/jqgriddocs/_2hj0xhk8b.htm
I have loadui “enabled”.
The “loading” message is not being displayed.
It looks like the problem is here (grid.base.js, line: 936)
if ($.isFunction(ts.p.datatype)) {
ts.p.datatype(gdata);
endReq(); // !!! This line seems to cause the problem !!!
}
The text was updated successfully, but these errors were encountered: