Description
I'm submitting a Feature request
Motivation / Use Case
I'm trying to group by column with complex object data but grouping.interface doesn't allow me to set function as getter. Using default string from column field which points to exact property doesn't seem to work for me as I'm getting groups with [undefined] value.
Slickgrid's dataview can handle getter as function, so my question is if getter property of Grouping Interface shouldn't take string
or (value: any) => string
?
Expected Behavior
Allow string or function returning string as parameter for getter property of Grouping interface by changing getter?: string
to getter?: string | (value: any) => string
Other Information
Setting any accepted type instead of Grouping for my setGrouping argument makes it working so the interface property type is the only one obstacle . I think interface should also consider this case.