WebDataRocks / pivot-angular

Example of integrating the WebDataRocks web reporting tool with the Angular framework

Home Page:https://www.webdatarocks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to achieve sorting of Measured(Calculative) field.

rajgodia opened this issue · comments

While using Sorting, I get below compilation error.

**Type '{ type: string; tuple: undefined[]; measure: string; }' is not assignable to type '{ type: string; tuple: string[]; measure: MeasureObject; }[]'.
  Object literal may only specify known properties, and 'type' does not exist in type '{ type: string; tuple: string[]; measure: MeasureObject; }[]'.ts(2322)
webdatarocks.d.ts(179, 13): The expected type comes from property 'column' which is declared here on type '{ column?: { type: string; tuple: string[]; measure: MeasureObject; }[]; row?: { type: string; tuple: string[]; measure: MeasureObject; }[]; }'
```**

Can you please give an Example in Angular.

Hi @rajgodia,

Thank you for posting your question.

We haven't managed to reproduce the described behavior on our side so far. It would greatly help if you could provide us with your report configurations accompanied by exact steps you've made before encountering the issue.

Looking forward to your response.

Regards,
Mykhailo