kobruleht

Forum Replies Created

Viewing 15 replies - 46 through 60 (of 74 total)
  • Author
    Replies
  • in reply to: Data is corrupted on view and edit in 4.1.1 #98389
    kobruleht
    Participant

    Tony,

    thank you very much. I send testacases to you by e-mail.

    doctype is set in start of page as:

    kobruleht
    Participant

    Oleg,

    thank you.

    Password column is used for two purposes:

    1. It allows to verify the presence of password for specific user
    2. It allows to chnage password using inline edit.

    I was able to add password formatter using

    jQuery.extend($.fn.fmatter , {

    in reply to: Data is corrupted on view and edit in 4.1.1 #98380
    kobruleht
    Participant

    IF text contains characters like <A

    in reply to: sort column name is prefixed by grid_ in 4.1.1 #98353
    kobruleht
    Participant

    Thank you. I applied this patch by changing line 1852 in

    in reply to: sort column name is prefixed by grid_ in 4.1.1 #98345
    kobruleht
    Participant

    Tony,

    thank you for creating wonderful grid.

    I sent

    kobruleht
    Participant

    I verifed that this patch allows to save row pressing Enter after error has occured. Can we add this to jqGrid official source code, please.

    Andrus.

    kobruleht
    Participant

    code:

    $totalrows = isset($_REQUEST['totalrows']) ? $_REQUEST['totalrows']: false;
    if($totalrows) {
    $limit = $totalrows;
    }

    why totalrows are checked? jqGrid does have such parameter in doc

    kobruleht
    Participant

    You can switch to slickgrid. According to SlickGrid Developer answer in stackoverflow.com where this issue was discussed, this is resolved in SlickGrid.

    in reply to: How to update row id after editing #98129
    kobruleht
    Participant

    I modified controller to return new row id and created

    function aftersavefunc(rowID, response) {

    in reply to: Inline edit if Enter is pressed #98126
    kobruleht
    Participant

    I created corrected testcase and included also multiselect: true. This causes the issue. How to start edit using enter and allow multiple row selection also ?

    <html xmlns="http://www.w3.org/1999/xhtml

    </script>
    </script>
    </script>

    $.jgrid.no_legacy_api = true;
    $.jgrid.useJSON = true;

    </script>

    $(function () {
    var mydata = [
    { id: “1”, invdate: “2007-10-01”, name: “test”, note: “note”, amount: “200.00”, tax: “10.00”, closed: true, ship_via: “TN”, total: “210.00” },
    { id: “2”, invdate: “2007-10-02”, name: “test2”, note: “note2”, amount: “300.00”, tax: “20.00”, closed: false, ship_via: “FE”, total: “320.00” },
    { id: “3”, invdate: “2007-09-01”, name: “test3”, note: “note3”, amount: “400.00”, tax: “30.00”, closed: false, ship_via: “FE”, total: “430.00” },
    { id: “4”, invdate: “2007-10-04”, name: “test4”, note: “note4”, amount: “200.00”, tax: “10.00”, closed: true, ship_via: “TN”, total: “210.00” },
    { id: “5”, invdate: “2007-10-31”, name: “test5”, note: “note5”, amount: “300.00”, tax: “20.00”, closed: false, ship_via: “FE”, total: “320.00” },
    { id: “12”, invdate: “2007-09-10”, name: “test12”, note: “note12”, amount: “500.00”, tax: “30.00”, closed: false, ship_via: “FE”, total: “530.00” }
    ];

    var grid = $(“#grid”);
    grid.jqGrid({
    datatype: 'local',
    data: mydata,

    colModel: [
    { name: 'invdate', editable: true, width: 30 },
    { name: 'name', editable: true, width: 271 }
    ],
    gridview: true,
    pager: '#pager',
    viewrecords: true,
    multiselect: true,
    editurl: 'clientArray'
    });
    });

    $(“#grid”).jqGrid('bindKeys', {
    onEnter: function (rowid) {
    alert(“You enter a row with id: ” + rowid);
    }
    });

    in reply to: Inline edit if Enter is pressed #98124
    kobruleht
    Participant

    I created complete standalone testcase based on your sample below. How to cause alert box to appear on enter ? How to force up and down arrow keys to change current row ?

    <html xmlns="http://www.w3.org/1999/xhtml

    in reply to: How to update row id after editing #98119
    kobruleht
    Participant

    Thank you.

    row ids are

    in reply to: Cancelling Edit Form fatal error #98074
    kobruleht
    Participant

    To fix your existing installation add

    recreateForm: true

    to add method as described in

    in reply to: Export to EXCEL and PDF #98072
    kobruleht
    Participant

    Can you publish export controller code.

    kobruleht
    Participant

    In minimized jas file Error occurs at code

    if

    (y[0].type==“checkbox”)

    y length is 0

    Stack trace is

    Anonymous Function

Viewing 15 replies - 46 through 60 (of 74 total)

Stay connected with us in your favorite flavor!