Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #102903
    tullio0106@live.it
    Participant

    In my grid I’ve a field where I expect integer numbers.

    { label: ‘Campo testo 1’, dataField: ‘C1’, editor: ‘numberInput’, cellsFormat: ‘d2’},

    The initial value is 0.

    When I try to change the value either writing the number o clicking on butons I see the new value but in my onCellUpdate event I allways get 0.

    onCellUpdate(cell, oldValue, value, confirm) {
    let newValue = value;
    console.log(newValue);
    let row = cell.row.id;
    let column = cell.column.index;
    console.log(row + '/' + column);
    sendDatiGriglia(newValue, row, column);
    confirm(true);
    },

    What0s wrong ?

    Tks

    Tullio

    #102907
    admin
    Keymaster

    Hi Tullio,

    Thanks for the feedback.

    We tested this and tried to replicate the reported behavior without avail. Could you share a small codepen sample which shows the specific problem?

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #102913
    tullio0106@live.it
    Participant

    Solved.

    Tks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.