jQuery UI Widgets Forums Grid cellendedit

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    cellendedit Posts
  • cellendedit #107671

    arkgroup
    Participant

    Cellendedit fired when click between cells without changing data. What event I can use when data is actually changing?

    Thanks

    cellendedit #107676

    Peter Stoev
    Keymaster

    Hi arkgroup,

    cellendedit is raised when the edit ends. cellvaluechanged is raised when the cell value is changed. I think this is the event which you should use.

    Regards,
    Peter

    cellendedit #107677

    arkgroup
    Participant

    Hi Peter,

    I click on one cell and then on another cell same row. I did not change any data, so cell value did not changed just click.
    All these events got fired:
    cellclick
    cellendedit
    updaterow
    cellvaluechanged

    editmode: ‘click’,

    Thanks

    cellendedit #107678

    arkgroup
    Participant

    here how replicate use
    http://jsfiddle.net/jqwidgets/ejvnb/

    click 2 times on Order Date, then click on Quantity
    cellvaluechanged event will fire.

    Thanks

    cellendedit #107681

    Peter Stoev
    Keymaster

    Hi arkgroup,

    You can use getcellvalue to get the value of a cell in cellbeginedit. You can use it again in cellendedit event. You can then compare.

    Regards,
    Peter

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

You must be logged in to reply to this topic.