jQuery UI Widgets Forums Grid updaterow

This topic contains 4 replies, has 2 voices, and was last updated by  krewlion 9 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    updaterow Posts
  • updaterow #58026

    krewlion
    Participant

    I’m updating a row by “dblclick” and using updaterow, and it’s working really fine, but i have a ckeckbox, and when i check, the method starts… how can i stop it? I wan’t to edit only by dual-click…

    I’m new using jqx … ><

    Please.

    updaterow #58031

    Dimitar
    Participant

    Hello krewlion,

    Checkboxes in a checkbox column are always edited on a single click. This behaviour cannot be modified.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    updaterow #58064

    krewlion
    Participant

    But how can i just avoid it in a method? ><

    Exemple:

    Get the column where i clicked? Can i get it? Just call one function if i click at x column?

    updaterow #58070

    Dimitar
    Participant

    Hi krewlion,

    I am not sure I understand your requirement. Please clarify.

    You can get the edited column in the cellendedit event handler:

    $("#jqxGrid").on('cellendedit', function (event) 
    {
        var column = args.datafield;
        var row = args.rowindex;var value = args.value;
        var oldvalue = args.oldvalue;
    });

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    updaterow #58086

    krewlion
    Participant

    It was that \o/

    But i did using popup 😀

    Really thanks 🙂

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

You must be logged in to reply to this topic.