You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

using Grid widget how to display an image for a incident column

Accepted answer
edited Feb 12, 2018 12:25PM in Customer Portal 1 comment


I have created an Report to display in the CP page. 

We can able to display the image during initial load of the page. but when we do sort or search a column in the grid report. we image disaapers.

below is the logic code: i have added the code in the _onReportChanged function.

if(newdata.headers[j].heading=="view"){ // column name[i][j]="<a href='/app/account/questions/detail/i_id/"[i][j]+"'><img src='/euf/assets/Inspina/images/search.jpg'></a>";
view file code :
 <td role="gridcell" class="yui3-datatable-cell block">

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!