jQWidgets Forums

jQuery UI Widgets Forums Grid set other cellvalue

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • set other cellvalue #15490

    mkdodos
    Participant

    Hi,
    How to set cell B value after edit cell A value?
    Thanks,
    Mark

    set other cellvalue #15511

    Peter Stoev
    Keymaster

    Hi Mark,

    You can handle the “cellendedit” or “cellvaluechanged” events and depending on the edited cell’s datafield and/or value, you can set a value of another cell by using the “setcellvalue” method of jqxGrid. Keep in mind that the “setcellvalue” method will also raise the “cellvaluechanged” event.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    set other cellvalue #15581

    mkdodos
    Participant

    Hi Peter,

    Thanks for the help.
    In this case,how to get cell C value in cellendedit event?

    Best Regards,
    Mark

    set other cellvalue #15597

    Peter Stoev
    Keymaster

    Hi Mark,

    The Grid also has a “getcellvalue” method. You can use it to get the value of any cell.

    Best Wishes,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.