Describe the bug
there are two contextMenu field in Grid Props type, one in GridOptions and the other in HTMLAttributes.
So using grid context menu, both CreateMenuGroups & string types are required.
I think code should be changed not using '&'
AS-IS: type Props = Omit<GridOptions, 'el'> &
EventMaps &
HTMLAttributes & {
oneTimeBindingProps?: Array<'data' | 'columns' | 'bodyHeight' | 'frozenColumnCount'>;
};
Describe the bug there are two contextMenu field in Grid Props type, one in GridOptions and the other in HTMLAttributes. So using grid context menu, both CreateMenuGroups & string types are required. I think code should be changed not using '&' AS-IS: type Props = Omit<GridOptions, 'el'> & EventMaps & HTMLAttributes & {
oneTimeBindingProps?: Array<'data' | 'columns' | 'bodyHeight' | 'frozenColumnCount'>;
};