Hello support team,
I am trying to get rowData from the cell data object on double-click, but the field doesn’t exists in data. I see the same on your example. https://jsfiddle.net/flexmonster/97fvkauL/. In the project we use JSON as data source.
Maybe I have missed some configs?
Thank you for contacting us.
Please note that this property is only defined when the cell is double-clicked in the drill-through view.
We suggest referring to the following forum thread for a detailed explanation: https://www.flexmonster.com/question/cell-click-row-data-object/.
Please let us know if it helps.
Thanks, now it is clear!
I am asking about this, because I have a requirement to replace the drill-through view (Details popup) to our project popup. Therefore, my current issue is getting the same data that are shown on the drill-through view and show them in custom popup.
Do you have any recommendations of getting the data?
Thank you for your feedback.
First, disable the default drill-through using the
drillThrough property of the Options Object.
Next, add a unique identifier to each record of the dataset. Specify its type as
id in the Mapping Object. Now you can subscribe to the celldoubleclick event. Its handler will receive the Cell Data Object, which contains
recordId property that stores all the identifiers of the records used to compose this cell.
This information can be used to retrieve the raw data and display it in the desired way.
Here is a JSFiddle for the demonstration: https://jsfiddle.net/flexmonster/d2qv68pg/.
Please let us know if it works for you.
Looking forward to your feedback.
Thank you so much!