carbon-addons-iot-react icon indicating copy to clipboard operation
carbon-addons-iot-react copied to clipboard

[table] aggregation function should always receive data parameter

Open bjornalm opened this issue 2 years ago • 0 comments

What package is this for?

  • [x] React
  • [ ] Angular

Summary

I think the view.aggregations.columns[i].value function should always receive the values as a parameter. Currently the function only receives the values as a parameter if the column data type (i.e. raw values) are integers.

Hence if I would like to aggregate on a value that is a property of an object I have to use the external data prop, making the value function superfluous.

Additional context Add any other context or screenshots about the feature request here.

Specific timeline issues / requests

Do you want this work within a specific time period? Is it related to an upcoming release?

NB: The core contributors will try to work with your timeline, but it's not guaranteed. The earlier you make a request in advance of a desired delivery date, the better!

Available extra resources

What resources do you have to assist this effort?

Carbon add-ons for Watson IoT is a collaborative system. We encourage teams to build components and submit them for integration.

bjornalm avatar Feb 28 '22 19:02 bjornalm