Skip to content

[b-table] Emit native event along with row-clicked event #855

Closed
@admax81

Description

@admax81

Please add event as 4-th argument on row-clicked and row-dblclicked emit.

rowClicked(e, item, index) {
  if (this.busy) {
    // If table is busy (via provider) then don't propagate
    e.preventDefault();
    e.stopPropagation();
    return;
  }
  this.$emit('row-clicked', item, index, e);
},
rowDblClicked(e, item, index) {
  if (this.busy) {
    // If table is busy (via provider) then don't propagate
    e.preventDefault();
    e.stopPropagation();
    return;
  }
  this.$emit('row-dblclicked', item, index, e);
},

this is require, to check if ctrl or shift used on click.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions