OlegK

Forum Replies Created

Viewing 15 replies - 376 through 390 (of 968 total)
  • Author
    Replies
  • OlegK
    Participant

    Sorry, but I have now too few time. So if you found an error you should post the bug report in the Bugs part of the forum.

    By the way Tony is the developer of jqGrid not me. I use jqGrid in some of my projects and I help other (mostly on the stackoverflow.com) who use jqGrid, but it is only hobby for me.

    Best regards
    Oleg

    OlegK
    Participant

    I posted you the link to example which has no editing. It get only data from the server. If you use some kind of editing you should of course implement additional event handlers or in case of inline editing use errorfunc additional parameters of editRow. Look at the answer or another one for example.

    Best regards
    Oleg

    OlegK
    Participant

    If you would use Entity Framework to access to the database the code will be relatively easy. Look at the “UPDATED” part of the answer

    in reply to: populate jqgrid with json data #97987
    OlegK
    Participant

    What do you mean under “I've try to follow the sample without success”. Could you download the example, compile and run it? Is it work? What problems you had? You should understand this to be able to use jqGrid.

    The list of disadvantagis of addJSONData is long. Look at here for example. The method addJSONData don't throw any error like all other methods. If you want to see errors you have to implement loadError event handler.

    Best regards
    Oleg

    in reply to: populate jqgrid with json data #97983
    OlegK
    Participant

    You use wrong template code to implement the jqGrid with respect of datatype which is a function. It was needed for very very old versions of jqGrid. jqGrid supports many parameters which allow you to get JSON data from practicaty any sever inclusive ASMX web services.

    In the answer for example you will find full working code which shows how you to use ASMX to provide the data for jqGrid.

    Best regards
    Oleg

    in reply to: Cell Title and value #97982
    OlegK
    Participant

    Hello,

    the custom formatter function should be used to set contain of the cell and no attributes like the title attribute used for tooltips. The new 4.0 version of jqGrid support

    in reply to: jqGrid is not a function – Only in Firefox 4 #97981
    OlegK
    Participant

    Hello Freya Crescent,

    You should post more information about the code which you use. The most important is not only the JavaScripts which you use, but how and in which order you loads the JavaScript files. You should include all files which you need in the correct order. You should take in consideration, that including of one file twice can follow to the error.

    Best regards
    Oleg

    in reply to: How to delete row if composite primary key is used #97973
    OlegK
    Participant

    The dictionary tables use typically MD5 hash as the key insead of the full phrase in source language.

    I don't understand how you implement packet dumps and why you have the requirements at all. The

    in reply to: How to delete row if composite primary key is used #97970
    OlegK
    Participant

    Hello Andrus,

    I suppose that under row edit mode you mean inline editing mode. It has serializeRowData which lay the same role as serializeDelData for the form editing. If you use both editing modes together in the grid you can share the code of the function which implement seriaization in both cases.

    I am sure, that if you use id which is several kilobytes long than you should make modification in your database model. The usage of such “key” is almost the same as to use the full row data. It will be slow and ineffective. The

    in reply to: How to delete row if composite primary key is used #97968
    OlegK
    Participant

    First of all I suggesed you 4 implementation ways. If you have problem with one or another way you can use other ways. The way with serializeDelData

    in reply to: How to delete row if composite primary key is used #97964
    OlegK
    Participant

    You have many possibilities to do this: serializeDelData, delData, onclickSubmit. The event handle serializeDelData

    in reply to: jqGrid is not a function – Only in Firefox 4 #97889
    OlegK
    Participant

    Hello miguelito!

    The usage of jQuery.ajax with

    OlegK
    Participant

    Hello Tony!

    You made currently some changes to fix the problem, but some small parts of code inside of updatepager

    in reply to: Turn off select checkbox when clicking on row? #97848
    OlegK
    Participant

    You should just use additional parameter multiboxonly:true of the jqGrid. Look at this old answer having some demos.

    Best regards
    Oleg

    in reply to: text sorttype enhancement #97767
    OlegK
    Participant

    Hi,

    if you save the file which contain the JavaScript code (JS or HTM file) in UTF-8 encoding all work. You can try the demo

Viewing 15 replies - 376 through 390 (of 968 total)

Stay connected with us in your favorite flavor!