Hi,
I am trying to change the color of rows based on the cell level in 'fm-pivot' component but the 'level' property is not available in 'CellData' object as mentioned in grid customization guide. I am using 2.7.x version of 'ng-flexmonster'.
Please help me resolving the issue. Here is the article link that I referred :
https://www.flexmonster.com/blog/grid-customization-and-styling-beyond-css/
Attached screen shot.
Hello,
Thank you for writing to us.
The reason for this is that the level
property is not specified in node_modules\@types\flexmonster\index.d.ts
.
Our team will notify you as soon as we update the node_modules\@types\flexmonster\index.d.ts
file on our end.
As a temporary workaround, you can add
level?: number;
after the 343-rd line manually to the CellData
interface in your node_modules\@types\flexmonster\index.d.ts
file.
Please let us know if you have further questions.
Best Regards,
Vera
Thanks Vera,
Please let me know asap when this is fixed.
Hello,
We are happy to let you know that we have updated Flexmonster types.
Now the level
property is available in the cellData
object.
You are welcome to update to the latest @types/flexmonster
.
Please let us know if everything works fine for you.
Best Regards,
Vera
Thanks Vera.
Its working now.
Property 'expanded' does not exist on type 'CellData'
Hello, Naidu,
Thank you for reaching out to us.
Please see our reply in the following thread: https://www.flexmonster.com/question/angular-7-data-expanded-property-not-working/
Kind regards,
Vera