Hi,
I've tried to setup a cell tooltip for a filtered cell.
I've followed the code in ui-grid and found some issues (
).
I have 2 cases in which this is a problem:
- I want to filter the cell content, and in a tooltip show the unfiltered content.
- I want to enact a different filter on the tooltip (or enact the filter in the tooltip's function).
These 2 use cases are very close to each other and there are several variants I can think of for each.
I've implemented my solution in my app:
Set a tooltipFilter property in the colDef that would either be unedfined (to use the cell's filter), a string/function that returns a string (for a filter) or false (for no filter).
What do you think? Is there a better way to do this?
Hi,
I've tried to setup a cell tooltip for a filtered cell.
I've followed the code in ui-grid and found some issues (
ui-grid/src/js/core/services/gridClassFactory.js
Line 114 in fcbafc6
I have 2 cases in which this is a problem:
These 2 use cases are very close to each other and there are several variants I can think of for each.
I've implemented my solution in my app:
Set a
tooltipFilterproperty in the colDef that would either be unedfined (to use the cell's filter), a string/function that returns a string (for a filter) orfalse(for no filter).What do you think? Is there a better way to do this?