Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi frends i am working on JQGrid.......

I want to show Image in specific coloumn........


But i dont know how to attach image in JQGrid.....


Can anybody help me......or plz send me some links......
Posted

Hey suhas,
1)this block of code may help you,
XML
function jqGridFormatter(cell, options, row) 
{
    return "<a href='Home\ShowImage?imageName=" + cell + ">Image</a>"; 
}

Then you need to specify this formatter in colModel options for jqGrid, see
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_formatter.[^]
2)Try google fro same!!
 
Share this answer
 
 
Share this answer
 
Comments
Member 11005625 11-Nov-14 1:36am    
Hi friends...
How to bind images in jqgrid coloumn from database...U know the solutions please help me...Thank You...
I had no idea about jqGrid till now. But after I saw your question, I searched Google for image in jqgrid[^], and this was the first result - image column in jqGrid?[^].

Easy, isn't it?!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900