jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Inline edit issue in Grid Inline edit issue in Grid #58354

    annfredin
    Participant

    Yes, PlanName field returning as empty.
    if i hit “enter” button then it’s working.

    in reply to: Inline edit issue in Grid Inline edit issue in Grid #58310

    annfredin
    Participant

    i have placed Save,Delete button inside the grid,
    and when i click on the button the last cell which i am editing, not being retrieved,

    var addcellsrenderer = function (row, column, value) {
    return ‘<div class=” grid-row-icon add-row” onClick=”addCustomerDeposit(‘ + row + ‘)”></div>’;
    }

    //Column strcture
    columns: [
    { text: “Customer Name”, datafield: ‘CustomerName’, columntype: ‘textbox’ },
    { text: “Deposit”, datafield: ‘Deposit’, columntype: ‘numberinput’ },
    { text: “Plan Name”, datafield: ‘PlanName’, columntype: ‘textbox’, editable: true },
    { text: “Add”, datafield: ‘Add’, cellsrenderer: addcellsrenderer, cellsalign: ‘center’ ,width : ’65’,editable:false},
    { text: “Delete”, datafield: ‘Delete’, cellsrenderer: deletecellsrenderer, cellsalign: ‘center’, width: ’65’, editable: false }
    ]
    //Event not getting PlanName value.
    saveCustomerDeposit = function (row) {
    var datarow = $(“#gridCustomerDeposit”).jqxGrid(‘getrowdata’, row);
    //i am performing server side up date logic
    }
    i know the reason, because the last cell value not being committed, before that click event triggered.

Viewing 2 posts - 1 through 2 (of 2 total)