Hello!
Probably another answer
Hello,
just now, after I wrote the answer on the same question on the stackoverflow.com, I read the thread. I suppose that you use an old version of jqGrid. How you can verify in the example, which I included in the answer on the stackoverflow.com, there are no exceptions which you describes.
Best regards
Oleg
Hi,
look one more time in your HTML code
<div id="pager2" class="scroll" style="text-align: center;">
<div id="pager2” class=”scroll” style=”text-align: center;”>
<div id="pager2” class=”scroll” style=”text-align: center;”>
HTML not permit to use the same id more then once on one page. So your current HTML code ir wrong. If you copy a code you have to make some minimal modifications in the copy. At least you have to rename two from three ids used as the pager.
Regards
Oleg
You can use mtype option:
$("#list").jqGrid('navGrid','#pager', {},
Hello,
I recommend you to try another setting of Add/Edit forms: recreateForm:true (see my feature request). Probably this simple setting will solve your problem.
Best regards
Oleg
Hello LudoO,
RESTful services on the server side are supported since a long time by jqGrid. To load data from the REST you can use
ajaxGridOptions: { contentType: 'application/json; charset=utf-8' },
Hello ludoo,
I disagree with you. The variable rp_ge defined in the line 10 is not global. It is define inside of the body of the function defined in the line 1. I recommend you to use http://www.jslint.com/ to verify JavaScript code. It shows which variables are global. The variable rp_ge defined in the line 10 is do not global.
Best regards
Oleg
Hi NoWoL,
The problem, which you describe with index having period seems for me a bug. The same problem are described here and here. I can imagine that having periods in the index can be important if database schema used on the database, but having index with period in case of pure local data (not “json” datatype and loadonce:true) and can be replaced with jsonmap. So the bug in the case makes have a simple workaround. Which scenario has you?
Nevertheless it is absolutely another problem not connected with the “Microsoft” data format. You can post additional information to the bug report to remind Tony about the problem. I am not a developer of jqGrid and I am additionally busy for at least next two weeks. So please contact Tony about the problem yourself.
Best regards
Oleg
Thank you Tony!
Now the code on GitHub contain all changes which I need. I will test the code inside of copy of real project which I developed about one year ago and where I should make a small update in the month. If I will find any problem I will post my results here as usual.
Best regards
Oleg
Hi NoWoL,
do you tested the code published from in GitHub or it seems to you that the RegEx is wrong? I don't yet tested the code one more time, but now the RegEx is exactly like in the version which I used and tested many times with different data before I posted the information here.
Probably you use frequently the form /pattern/modifier of RegEx and not constructor of RegEx with the string literal. There are some difference in coding of backslashes in the two forms. See for example “How to Use The JavaScript RegExp Object” section of this.
If you will find a bug in the code you are welcome, but please test the code and post exactly which input data will be wrong converted by the code. Which result should be and which wrong result produce the code.
Best regards
Oleg
You are wrong Giorgio!
The object accessible under the data parameter contain current local data saved in the jqGrid inclusive all modification of local data which are already saved.
Best regards
Oleg
Hello,
You can see that element has id=”dependence”. So you can use
var sel = $(“select#dependence”);
or just
var sel = $(“#dependence”);
to get the element. The element with id=”tr_dependence” is
var sel =
Hello!
You can use Developer Tools of Internet Explorer or Google Chrome or Firebug in Firefox to examine the current modified HTML code any time. If you use Toolbar Filtering, then you will see that ids of all items from the toolbar have prefix “gs_”. Probably you try use it in form editing of inline editing.
By the way Tenerife is my
Hello Candra,
Parameters of 'navGrid' function contains options for Add, Edit, Del,View dialogs. Add and Edit options support recreateForm:true setting. So the call will be
jQuery(“#list”).jqGrid('navGrid','#pager',
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top