Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Can’t apply a unique id to a row when using hierarchy properties or id type

Answered
Nick Prodromou asked on October 30, 2020

There appears to be a bug in how flexmonster applies its properties when using mapping, where if the field’s value isn’t unique, then all fields with that value will get the same id, you can see this occurring in my example:
https://jsfiddle.net/jngx6y5z/36/
My use case is this:
I need a unique ID for each row, that’s accessible when you click on a customised cell, and I don’t want to show that ID in my table at all. if possible I need multiple of these per row. if not I can use that ID to get the rest of the data from the reportData.
i’ve tried this: https://www.flexmonster.com/question/how-to-hide-a-column-from-report-ui-in-flat-form-and-yet-retrieve-the-value-from-getcell/ but to no avail
I’ve also tried to implement the ‘id’ type, but it has the same problem where if there’s a non-unique value it will use a the id for every other instance of that value (as you can see in my example)
Also using the data.recordId has the same problem.
is it possible to get the values for a whole row, including hidden data inside the customizeCell function?
 

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster November 2, 2020

Hi Nick,
 
Thank you for posting your question.
 
We’ve managed to reproduce the described behavior on our side – it seems like a wrong member value is assigned to the cell’s property. Our team will take a look at this and we’ll return to you with a fix ETA Nov 30th.
 
Please let us know if there is anything else we can help you with in the meantime.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer