jQWidgets Forums

jQuery UI Widgets Forums Grid How to get the current edited cell?

This topic contains 3 replies, has 3 voices, and was last updated by  Michael 7 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • How to get the current edited cell? #7471

    erik1001
    Member

    Hello.

    Is it possible to get the current edited cell data, something like $(‘#grid’).jqxGrid(‘getcurrenteditedcell’)?
    If `selectionmode : ‘singlerow’`, I can’t use `getselectedcell`. What is more, in the same `selectionmode : ‘singlerow’` I can’t use anything different from the default value of `editmode`. Is possible to change it?

    Best Regards,
    Ivan

    How to get the current edited cell? #7473

    Peter Stoev
    Keymaster

    Hi Ivan,

    jqxGrid supports cells editing and popup editing. Both of these are not related to the selection mode. You can use the cellbeginedit and cellendedit events to get the current cell’s row, column and value.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    How to get the current edited cell? #7482

    erik1001
    Member

    Hello Peter,
    Thank you for the quick reply.

    I see there is not direct way to do it. But I need to exit edit mode programatically. Something like `$(‘#grid’).jqxGrid(‘stopcurrentediting’);`
    What is my case: I edit some rows, but then I decide to open a dialog box. When I open the dialog box, I need all the edits to be finished, so if there was such a method, it would happen the easy way. The problem is I can’t find the hard way too.

    Best Regards,
    Ivan

    How to get the current edited cell? #98884

    Michael
    Participant

    Hi erik,

    did you find a solution?
    I have the same rwquirement.

    Kind regards
    Michael

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

You must be logged in to reply to this topic.