What could be the efficient way to fetch a Grid Field's row ID for the Preview Screen of an Entry? I have something like this:
grid_field:row_id on the preview template however the returned value(s) is not the expected row IDs. If I were to compare the values from the Preview Screen and the actual Web Page, the latter shows the correct IDs (same from the database).
I've read in the documentation that the field must be rendered differently if the template is under live preview; so I tried tweaking on the
replace_tag() method of ft.grid.php file. But no luck still.
I'm using EE version 4.3.4 btw, thanks!