Meng Hai

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • in reply to: Issue with GridImport XML #94226
    Meng Hai
    Participant

    I just found out the problem.

    It is the word “Function” in the 7th column for colNames

    Apparently cant use the phrase “function” for colNames. Will this be rectified?

    Meng Hai
    Participant

    Hi Tony,

    Yes I would be interested in trying this out. But I am pretty new to jqgrid (4wks). Thus may take awhile to do this.

    Do you have links to example of where I can catch the up/down key in the editCell (where is editCell located too)

    Some of the checks that I need to do is.

    1) if the current/focus cell has change value, to update the record when it lose focus.

    in reply to: to get the rowid of the nth row of the grid #92964
    Meng Hai
    Participant

    Found the answer using $('#gridmain').jqGrid('getDataIDs');

    It will return an array of ids for the visible grid.

    So to get the nth rowid, i use:

    var rids = $('#gridmain').jqGrid('getDataIDs');

    var nth_row_id = rids[n-1]; //bec the row array starts from zero.

    Hope it will help others, if interested.

    in reply to: Editing using cell edit without the Enter key #92865
    Meng Hai
    Participant

    Thanks. Looking forward to it bec jqgrid is already a great product but being willing to improve on user's needs and feedback makes it awesome.

    in reply to: subgrid within a Grid #92571
    Meng Hai
    Participant

    Yes, much appreciated.

    in reply to: How to activate the Form Edit from custom input button #92546
    Meng Hai
    Participant

    Found it.

    for Add:

    jQuery(“#griddetail”).jqGrid(“editGridRow”,”new”);

    for Edit:

    jQuery(“#griddetail”).jqGrid(“editGridRow”,”idno”); //replace “new” with record id no eg “2”

    for Delete:

    jQuery(“#griddetail”).jqGrid(“delGridRow”,”idno”);

    Eg of use in Delete button:

    $(“#buttDelete”,”#t_griddetail”).click(function(){

Viewing 6 replies - 1 through 6 (of 6 total)

Stay connected with us in your favorite flavor!