Hello, Abu Gufran!
I have a hidden column with pictures on it. It can be seen only on view action. Is it possible to load picture only when the certain row is selected to view? I mean not to load all pictures (to decrease traffic and page loading time) at grid load, but one by one only if any row is selected to been viewed.
Thanks!
The images are usually displayed using <img> tag html in grid column.
So instead of setting src attribute, you can set some src-tmp attribute with image path.
And on view_option beforeShowForm event, set src-tmp attribute to img src.
$opts["view_options"]["beforeShowForm"] = 'function(formid) { ….. }';
Inside function you can invoke jquery code to set all img tag src attribute which are inside formid.
This is just to give an idea. I've not tested and verified this approach.