qtip jqgrid selector question -


i want use qtip jqgrid , show different image depending on row selected within jqgrid. path of image within jqgrid hidden cell. have looked around can't find documentation on if jqgrid has relevant row selector used. know selector want or if should trying different approach altogether?

the selector worked far below entire grid. have tried few things specify row nothing has worked. appreciated.

$('#gridtable').qtip({          content: 'some text',          show: 'mouseover',          hide: 'mouseout',          position: {             corner: {             target: 'topleft',             tooltip: 'bottomleft'          }       }      }); 

my solution place icon within each row had wine image , assign id of row. meant each row given unique class hover over. not pretty worked.

 if((gridrow['photo'] != "false"))                 {                  $("#gridtable2").jqgrid('setrowdata',i+1,{wine:'<div class ="imageicon'+i+'">'+ret['wine']+'  <img src=\"images/icon-wine.png\" height="16" width="13"/></div>'});                  path = '<img src="images/winephotos/'                 + gridrow['id']                 +'.jpg" width="350" height="450" alt="wine image"'                 +' class="resize"/>';                  $('.imageicon'+i).qtip({                     content:  $(path)                         ,                         position: {                              corner: {                              target: 'topleft',                              tooltip: 'bottomleft'                           }                      },                     show: {                         when: 'click',                         //ready: true,                         solo: true                     },                     hide: {                         when: {                             event: 'click',                             event: 'mouseout'                         }                     },                     style: {                           width: { max: 280 },                          name: 'dark'                       }                 });                  }                 gridrow=false;             } 

Comments

Popular posts from this blog

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

android - Spacing between the stars of a rating bar? -

c# - Getting "Internal .Net Framework Data Provider error 30" error when column has NULL value -