3 Answers
Please explain what do you mean by data in decoded format.
Which data are you talking about. Can you elaborate with e.g. or screenshot.
Thanks
my data is in encoded format(like jo%hn+marti+n) in mysql database …i would like to get it in decoded format(like john martin) in php grid
You can use on_data_display custom event, and pass all data from urldecode() function.
If you are using paid version, you can refer editing/custom-events.php
$e["on_data_display"] = array("filter_display", null, true);
$grid->set_events($e)
function filter_display($data)
{
foreach($data["params"] as &$d)
{
$d["email"] = urldecode($d["email"]);
}
}
Your Answer