OlegK

Forum Replies Created

Viewing 15 replies - 556 through 570 (of 968 total)
  • Author
    Replies
  • in reply to: parameters sent to server #97030
    OlegK
    Participant

    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

    in reply to: how to read(send) jqgrid data to server(code behind) #97026
    OlegK
    Participant

    Hi,

    Look at this answer

    in reply to: Help with multiselect and getting selected ID’s #97015
    OlegK
    Participant

    Look at this old answer

    in reply to: dropdown in inline edit: id unique but duplicate in labels #97009
    OlegK
    Participant

    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

    in reply to: subgrid hide +- symbol or deactivate spec. rows in subgrid #97005
    OlegK
    Participant

    Hello Lotte,

    I

    in reply to: Breaking change in DateFormat for non-string value #96967
    OlegK
    Participant

    Thanks! Of course typeof date must be used instead of

    in reply to: Breaking change in DateFormat for non-string value #96965
    OlegK
    Participant

    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

    in reply to: Dynamically Populate Select Dropdown #96964
    OlegK
    Participant

    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

    in reply to: Disable row navigator in edit popup #96961
    OlegK
    Participant

    Hi,

    The easiest way to disable navidation buttons is to include

    in reply to: Dynamically Populate Select Dropdown #96957
    OlegK
    Participant

    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

    in reply to: Formatter rowObject is not object #96948
    OlegK
    Participant

    Sorry AndzinSan,

    do you read the link

    in reply to: Dynamically Populate Select Dropdown #96947
    OlegK
    Participant

    Hello Candra,

    It seems to me I understand now what you need. Try to change the code of the fn function to

    function(e) {

    in reply to: Formatter rowObject is not object #96944
    OlegK
    Participant

    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

    in reply to: How to correct grid sort icon position? #96943
    OlegK
    Participant

    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

    in reply to: XML Node Object in Custom Formatter #96942
    OlegK
    Participant

    Hello Cas,

    It seems to me that you have almost the same problem as described here. I suppose you use loadonce:true option. After the changing the datatype to 'local', the rowObject will be no more XML object.

Viewing 15 replies - 556 through 570 (of 968 total)

Stay connected with us in your favorite flavor!