4.7.0 • Published 13 days ago

@slickgrid-universal/custom-tooltip-plugin v4.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

License: MIT TypeScript lerna--lite npm npm

Actions Status Cypress.io jest codecov

Custom Tooltip (plugin)

@slickgrid-universal/custom-tooltip-plugin

A plugin to add Custom Tooltip when hovering a cell, it subscribes to the cell onMouseEnter and onMouseLeave events. The customTooltip is defined in the Column Definition OR Grid Options (the first found will have priority over the second) To specify a tooltip when hovering a cell, extend the column definition like so:

Available plugin options (same options are available in both column definition and/or grid options)

Register the plugin

In order to use the Service, you will need to register it in your grid options via the registerExternalResources as shown in the Example 2 below.

Example 1 - via Column Definition
this.columnDefinitions = [
  {
    id: "action", name: "Action", field: "action", formatter: fakeButtonFormatter,
    customTooltip: {
      formatter: tooltipTaskFormatter,
      // ...
    }
  }
];
OR Example 2 - via Grid Options (for all columns), NOTE: the column definition tooltip options will win over the options defined in the grid options
import { SlickCustomTooltip } from '@slickgrid-universal/custom-tooltip-plugin';

export class MyExample {
  initializeGrid {
    this.gridOptions = {
      customTooltip: {
        formatter: tooltipTaskFormatter,
        // ...
      },
      externalResources: [new SlickCustomTooltip(), this.excelExportService],
    };
  }
}

Internal Dependencies

External Dependencies

Installation

Follow the instruction provided in the main README

4.7.0

13 days ago

4.6.1

1 month ago

4.6.0

1 month ago

4.5.0

2 months ago

4.4.1

3 months ago

4.4.0

3 months ago

4.3.1

3 months ago

4.3.0

3 months ago

4.2.0

4 months ago

4.1.0

4 months ago

4.0.3

5 months ago

4.0.2

5 months ago

3.7.2

5 months ago

4.0.1-alpha.1

5 months ago

4.0.1-alpha.0

5 months ago

4.0.0-alpha.0

5 months ago

3.7.1

5 months ago

3.7.0

5 months ago

3.4.0

6 months ago

3.2.2

7 months ago

3.2.1

8 months ago

3.2.0

9 months ago

3.0.1

10 months ago

3.6.0

5 months ago

3.4.2

6 months ago

3.4.1

6 months ago

3.3.0

7 months ago

3.1.0

10 months ago

3.5.1

6 months ago

3.5.0

6 months ago

3.3.2

7 months ago

3.0.0-beta.0

12 months ago

2.6.4

12 months ago

3.0.0

11 months ago

2.5.0

1 year ago

2.6.1

1 year ago

2.6.0

1 year ago

2.6.3

1 year ago

2.6.2

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.3.0

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.2.2

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.0.0-alpha.0

2 years ago

2.1.0

1 year ago

2.0.0

2 years ago

1.3.7

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

0.19.1

2 years ago

0.19.2

2 years ago

0.19.0

3 years ago