OlegK

Forum Replies Created

Viewing 15 replies - 451 through 465 (of 968 total)
  • Author
    Replies
  • in reply to: EditActionIconsColumn Events #97513
    OlegK
    Participant

    I posted the answer with the demo here.

    Best regards
    Oleg

    in reply to: attributes with dot #97500
    OlegK
    Participant

    Hello denoww,

    I supose that you use loadonce:true

    in reply to: Grid search problems #97489
    OlegK
    Participant

    Hi Rob,

    do you used navGrid function? If “yes” you should post the code which has the problem.

    Regards
    Oleg

    in reply to: Can’t get navigator above grid #97488
    OlegK
    Participant

    Hello mikertjones,

    Look at the old answer. Is it what you need?

    Best regards
    Oleg

    in reply to: Added row’s ID for refresh #97487
    OlegK
    Participant

    I supose the error is in my previous code. The afterSubmit should be:

    afterSubmit: function(response,postdata) {

    in reply to: Added row’s ID for refresh #97482
    OlegK
    Participant

    OK Steffan,

    The datatype:'json' is not really important for the form editing which you use. Insetad of that the method afterSubmit is what you need to implement because you use

    in reply to: replace the alert #97480
    OlegK
    Participant

    I searched in my collection of different demos and fould two examples

    The first example

    in reply to: replace the alert #97478
    OlegK
    Participant

    Hi Elie,

    In the previous my post I made typing error. In all old versions before 3.8.2

    in reply to: replace the alert #97475
    OlegK
    Participant

    The message “… is not a function” means that you not included jqGrid module during the downloading of the jqGrid. You should open jquery.jqGrid.min.js, search at the begining of the file for “Modules:

    in reply to: replace the alert #97473
    OlegK
    Participant

    Hello elie,

    Look at code of the the answer where I showen how the $.jgrid.viewModal method can be used to show the same message like jqGrid do in the navigator.

    Best regards
    Oleg

    in reply to: Added row’s ID for refresh #97463
    OlegK
    Participant

    Just now mention, that in the previous question with JSON data you used “userid” instead of “id”. Do you used jsonReader:{id:'userid'} parameter? I updated http://www.ok-soft-gmbh.com/jqGrid/Steffan2-json.htm.

    You should verity in IE Developer Tools or in Firebug which ids has

    elements and which hes new added row. The correct response from the server on “add” operation should be the id of the new row. Is it so in your grid?

    Best regards
    Oleg

    in reply to: Data Is being sent but not loading #97460
    OlegK
    Participant

    I have no problem with your data in the old JavaScript code. The new demo is exactly the same as I posted before, but it uses new JSON data. In the source code I changed just datatype to “json” and url to the file with JSON data.

    Do you used

    in reply to: Dynamic Checkboxes in form but not table #97458
    OlegK
    Participant

    Instead of usage of $.get('/async/groups.lasso',{x:1}, …); you can use dataUrl option of the editoptions.

    About your problem with multiselect elements it is difficult to recommend you one way. You can either use multilelect elements (see the answer with the demo) or custom formatter with custom editing which do this (see this and this).

    Another way could be to use additional multiselect grid for editing purpose.

    One more option is to use many columns with checkboxes. To make all more compact I use column headers with vertical texts. See the answer for example, with the demo. I use personally frequently the way in my projects. The main advantage of the way is simple filtering. Combining this way with the toolbar filtering

    in reply to: Data Is being sent but not loading #97457
    OlegK
    Participant

    I recommend you fo use JSON instead of XML is you can youself define the format of the data provided by the server.

    The version 1.8.10 should be compatibale with 1.3.2+ inclusive 1.5.1. I hope that the most important compatibility bugs and other gugs of the new versions are fixed not. I recommend you to start with jQuery 1.5.1 but not use the features which are new in 1.5 at the begining. So you can have performace advantage of the new version and have rollback way to jQuery 1.4.4 if you will find an important bug. After testing of main features which you need you can start to use new features of jQuery 1.5.1 if needed.

    Good luck
    Oleg

    in reply to: Data Is being sent but not loading #97455
    OlegK
    Participant

    Hi Steffan,

    I suspect that you problem is the “Content-Type” which not set or set wrong on the server (“/async/users.lasso”). I could reproduce the problem with jQuery 1.4.4 if I use at the response Steffan.txt file with the contain like you posted. In the case my web server place Content-Type: text/plain in the header of the response and one see ajax parsing error. Because use don't define loadError event hendle you just see empty grid. You can see the problem reproduced on the demo. If I just rename the file to Steffan.xml, my web server will use Content-Type: application/xml

Viewing 15 replies - 451 through 465 (of 968 total)

Stay connected with us in your favorite flavor!