Hello zippy1981,
Thanks for your assistance.
Hello Candra,
I am not sure, but do you tried to reset the filter inside of dataInit?
Best regards
Oleg
Hi Alex,
I answered on your question here. Moreover another thread on the same subject could be interesting you you.
Best regards
Oleg
Hello Candra,
It seems to me that your code have at least the error inside of $.get success handler. You should use $(“select#gs_City”).html(res) instead of
First of all you should not use parameters rowNum: 0 and rowTotal: -1. It is better to set rowNum to one from the values from the rowList array.
Instead of usage of separate $.ajax call it is better to use
ajaxGridOptions: { contentType: 'application/json; charset=utf-8' }
url: dataUrl,
mtype: 'POST',
datatype: 'json'
If the returned data contain array of objects having properties Id and Name, then you should additionally include parameter
jsonReader: { repeatitems: false }
See this, this and this answer for more informations and examples.
Best regards
Oleg
Sorry Candra,
but I don't really understand what and why you want to implement. If you search for an example how to bind 'keypress' to the field from the filterToolbar you can find it
You use wrong encoding for arrays. Instead of
"rowList":{"0":20, "1":40, "2":60, "3":80, "4":100}
and
"colModel":{"0":{"label":"bred8", "name":"qwe8"}}
you should use arrays instead:
"rowList":[20, 40, 60, 80, 100]
and
"colModel":[{"label":"bred8", "name":"qwe8"}]
Moreover parameter “pager”:”tgrff_pager” is also wrong. You mean probably “pager”:”#tgrff_pager”. I recommend you to use the last version of jQuery (currently 1.4.4) because it has pertormance improvemennt in working with CSS, which is relevant for jqGrid.
Best regards
Oleg
Is it a problem to save the row locally if is is not changed?
If you don't like this
Hello Cas,
custom formatter is a callback function, like WindowProc for example. So jqGrid will call it and will not know
You has contain only in one grid because you use twice
$.extend($.jgrid.defaults,
Hello Tony!
I read just now the following blog of Stephen Walter who was Former Microsoft ASP.NET Senior Program Manager many years, wrote some books and is present on all Microsoft conferences (now we work at Superexpert). At the end of the blog he wrote following:
We are inviting the authors of the top jQuery plugins to add their plugins to the CDN. Pay attention to this blog over the next few months to learn about the new jQuery plugins added to the CDN.
Stephen Walter
George,
first of all like you can see on the left side my status is “Member” like youth and not “Moderator” like the status of Tony, the developer of jqGrid. So I can not move your report if you can not do this. In the “Help” part of the forum some develpers who use jqGrid help other developers. So I suggested to post your suggestion in the “Bugs” forum to be sure that Tony read it and probably make the changes.
I send you the url to of the place of the source where you can see that Add button has “ui-icon-plus” as the icon. So the code like
$("#list").jqGrid ('navButtonAdd', '#pager',
Hello George,
You are right, that it would be better to set this for the most callback functions. jqGrid in last versions made the corresponding changes in the most places, but not here. The usage of o.addfunc.call($t)
Sorry, but I am not sure do you write this
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top