I would like to create a hyperlink in the customize cell function to create a link to the drill-down record within our system. To do this, I need the id we put in the hidden id field type for that record. I’m not sure if this is a bug or just not a feature yet because the recordId property in the drilldown is always null. Any idea on how to do this?
Thank you for reaching out to us.
id data property can be retrieved in the
customizeCell() hook via
An important remark is that for
flat form, only one id is returned as a string, whereas for
classic forms, an array of such ids is returned since in the latter case the data is aggregated.
Also, please keep in mind that for
classic forms, the
recordId for non-value cells will be returned as
In addition, could you please explain more about what you would like to achieve? Additional screenshots, illustrations, code samples are greatly appreciated.
More insight would help us to understand the situation better and to provide an appropriate solution.
Looking forward to your answer.
I am trying to get the recordId of the row (record) for the single item within the drillthrough screen. None of the columns with a value include its recordId. ALL are null. If I have a count/summary of 8 records and double-click the drill-through, the record id field does not come through to the individual records. If I turn on editing, the record Id comes through from the onupdate method, but I don’t need editing. I need for the record Id to be populated for the row, so I can use it to create a hyperlink to its record in our system from its id.
jsfiddle example If you click, 87, then 45, you will see the record Id is null in the console log. It should be 865.
Thank you for providing further details.
recordId for the drill-through cells is returned as
We would like to confirm that this is not the expected behavior.
Our team will provide the fix for this in the minor release version with the ETA 23rd of March.
Please feel free to write to us in case any additional questions arise.
Ok, I guess we’ll wait 🙂
We are happy to let you know that the issue with empty
recordId in the drill-through pop-up window cell was fixed.
This is included in the 2.8.3 version of Flexmonster: https://www.flexmonster.com/release-notes/
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if everything works fine for you.
Looking forward to your feedback.