Skip to content

Context menu depending on CellTypeDef #91

Locked Answered by shlomiassaf
jvictorsoto asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

TL/DR: This is already doable...

First, the context menu is just a plugin which is using the overlay panel to show some content.
Theres an issue with the suggested approach:

<div *pblNgridCellTypeDef="'number'; value as value;" matHeaderContextMenu="myNumberHeaderMenuPanel">{{value | number: '1.0-2'}}</div>

It assigns an overlay panel to the column but when should it show? On right click? with a button?
If a button, what kind, how will it look? and of course lot's of other things to consider.

I wouldn't want to introduce all of these options as they are not related to a column specifically but to what the overlay will do, which is not specific to the column.


How can you do it today? …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by shlomiassaf
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #91 on December 21, 2020 23:51.