jQuery UI Widgets Forums Grid grid updaterow and old value

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • grid updaterow and old value #92559

    arkgroup
    Participant

    I am using updaterow event to send data to server.
    I need to build where clause on server and can use rowdata for that.
    My grid data does not have identity id, so my where clause need to have old cell data (before I type new one).
    How can access old cell value in updaterow event?

    Thanks

    grid updaterow and old value #92581

    Hristo
    Participant

    Hello arkgroup,

    You could set in additional variable this value of the cell when start to edit that cell (bind to cellbeginedit event) or whole object.
    Also, you could cellvaluechanging(row, datafield, columntype, oldvalue, newvalue) callback in a concrete column and to compare new and old value from the arguments.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.