Hello dgh1,
the usage of parameter sord is not a bug. I suppose that sord should be read as “sort direction”. The parameter can be either asc or desc.
Parameter sord will be used together with sidx parameter which I read as “sort index”. Sort index is the name from the 'index' column of the corresponding column by which the grid should be sorted. If jqGrid column has no 'index' property defined, the 'name' property from colModel column will be used.
Next parameter nd I read as “new date”. It contains timestamp (new Date().getTime()) and are used to prevent caching of AJAX requests in Internet Explorer. It has close meaning to cache:false parameter of jQuery.ajax. In my opinion the parameter should be added only for HTTP GET requests, but it is added in case of filling of jqGrid per POST also. If you include prmNames: { nd:null} then the nd parameter will be not added (read this for more information).
Parameter _search is very easy. I suppose it was introduced for server technologies like PHP or ASP where you query server parameters manually. If _search is true, then other parameters searchField, searchOper and searchString or filters will be used and you should query there. In many cases you can query directly the parameters searchField or filters and ignore _search.
Best regards
Oleg
Hi,
Look at this answer
Look at this old answer
Hello srobert2,
I can imagine that jqGrid has problem with select (dropdown) having the same texts and different ids. Tony can answer on your bug request.
I want only explain you that your example has not much sense from the user point of view in my opinion. I don't understand how the user be able to choose the corret “Id” or “Icon” item if he see multiple items? Moreover a dropdown list having about 100 unsorted items is terrible in my opinion. I recommend you to redesign the corresponding column of grid. It can be that you try to display information which can be better devide in two columns: category and subcategory. I am not sure what kind of information the grid should display. Nevertheless my personal opinion is that you should not use the editoptions with value from your question.
Best regards
Oleg
Hello Lotte,
I
Thanks! Of course typeof date must be used instead of
Hello ksherratt,
Probably one can fix the bug by changing the line 120 of the jquery.fmatter.js from
msMatch = date.match(msDateRegExp),
to the following
msMatch = ((typedef date === 'string') ? date.match(msDateRegExp): null),
Would the change solve your problem?
Best regards
Oleg
Hello Candra,
Thank you for explanation. Now it's clear what you mean. Probably some seaching parameters are need be reseted before staring grid reload. I recommend you to look at this old answer which describe how search criteria (filter) can be cleared. You can do this for example inside your custom beforeRefresh event handler. I hope it will work.
I have currently no working example which dynymicylly populate select dropdown list and work per ajax. Another example which implement the same locally you can find here. I hope it could help you a litle.
Best regards
Oleg
Hi,
The easiest way to disable navidation buttons is to include
Hello Candra,
You wrote “I push the reset toolbar search”. What do you mean? Which JavaScript code you use for it? If you select “All” in the first select ('country') the second select will be reset.
Best regards
Oleg
Hello Candra,
It seems to me I understand now what you need. Try to change the code of the fn function to
function(e) {
Sorry, but you posted too less information. You should include the definition of your jqGrid including the code of your custom formatter. Moreover the JSON data returned from the server are also needed. By the way in the most cases the rowObject should be initially not a text, but array of texts instead.
Look at close question here. Probably it will help you.
Best regards
Oleg
Hello Anuj,
you should verified CSS you included in your test page. If you will have problem to find the error, you should prepare full HTML/JavaScript example which can be used to reproduce your problem.
Best regards
Oleg
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top