Skip to content

Commit

Permalink
on mouse hover explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
ruxandragherman committed Oct 30, 2024
1 parent 1f8bb69 commit f43bda4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/tabulator-table/src/tabulator-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ export class TabulatorTable extends ScopedElementsMixin(DBPLitElement) {
if (!this.tabulatorTable) return;
this.tabulatorTable.setLocale(this.lang);
this.tabulatorTable.setData(this.data);
/**
* Change cursor to pointer on hover if rows are selectable
*/
if(this.selectRowsEnabled) {
this.tabulatorTable.on("rowMouseOver", function(e, row){
this.rowManager.element.classList.add('pointer-mouse')
Expand Down

0 comments on commit f43bda4

Please sign in to comment.