I have purchased version of phpgrid, its awesome. But I'm facing a trouble in following functionality:
Previewing image in edit popup: I have made functionality where user able to see image in grid but can edit in popup, but I'm not able to show preview of image in popup, can you please let me know way to do so. Please refer to Image included.
Code I tried to achieve this functionality: http://pastebin.com/bXPsTuRB
Link to image for better clarification:
It uses virtual column to display uploaded file in grid and dialog.
It looks like as it is showing in grid, all you need is to enable it's display in edit dialog.
// only show in listing & image in edit
$col["show"] = array("list"=>true,"edit"=>true,"add"=>false);
Thanks Ghufran, but if you have checked my Pastebin.com link which is http://pastebin.com/bXPsTuRB, I have already tried this code but not working.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?