How to get a hidden columns value ?

I am trying to get the value stored in a hidden column in the grid.
(the column is hidden via the hidden=“true” attribute in the xml)
If the column is not hidden the value is fetched correctly, but if its
hidden using the attribute above an empty string is returned “”.

The following code is used to get the columns value

searchval = grdParticipants.cells(partId,grdParticipants.getColIndexById(grdParticipants.getUserData("",uniquetags[c]))).getValue();

How do I get the value of a hidden column in the grid ???

Unfortunately the problem cannot be reproduced locally.
cell value of the hidden column returns well for me.
If the problem still occurs for you please, provide with a complete demo or share with a demo link, where the problem, can be reconstructed.