I am looking for a way to unserialize data (coming from db table) and display it in admin grid (column in ui component)
I have custom module in admin which fetch record from table and one of the column have serialized data
a:2:{s:12:"increment_id";s:5:"60231";s:4:"rate";a:4:{s:6:"points";s:1:"1";s:15:"currency_amount";s:6:"1.0000";s:9:"direction";s:1:"1";s:13:"currency_code";s:3:"NZD";}}
I want to display increment_id from this field in my view/adminhtml/ui_component/modulename_model_listing.xml
Any help please.
Best Answer
In grid xml file add code like
create new file
Namespace/Module/Ui/Component/Listing/Column/Custom.php