Bubble edit - highlight the row

Bubble edit - highlight the row

sibi.sibinrajsibi.sibinraj Posts: 2Questions: 0Answers: 0

Is it possible to highlight the entire row when doing bubble edit?

Replies

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin

    In your event handler for clicking on a cell, you could add a class to the row - e.g.:

        $('#example').on( 'click', 'tbody td:not(:first-child)', function (e) {
            $(this).closest('tr').addClass('highlight');
            editor.bubble( this );
        } );
    

    Then in close remove the highlight class from the row.

    Allan

  • sibi.sibinrajsibi.sibinraj Posts: 2Questions: 0Answers: 0

    Thanks it worked

Sign In or Register to comment.