Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/05/2015, 23:23
edwinv
 
Fecha de Ingreso: agosto-2006
Mensajes: 17
Antigüedad: 17 años, 8 meses
Puntos: 0
Popus desde una tabla

Estimada comunidad
tengo este código es un grid de jqwidgets funciona muy bien, ahora le añadi una columna con un vinculo que dice "ver" que es un vinculo a otra pagina, ahora yo quiero que se habrá como un simple popups de windows, si me dan una ayuda, gracias


Código PHP:
 $("#jqxgrid").jqxGrid(
            {        
                
sourcedataadapter,
                
themetheme,
                
filterabletrue,
                
sortabletrue,
                
autoheighttrue,
                
pageabletrue,
                
virtualmodetrue,
                
rendergridrows: function(obj)
                {
                     return 
obj.data;    
                },
                
columns: [
                      { 
text'Shipped Date'datafield'ShippedDate'cellsformat'dd-MM-yyyy'width80 },
                      { 
text'Ship Name'datafield'ShipName'width200 },
                      { 
text'Address'datafield'ShipAddress'width180 },
                      { 
text'City'datafield'ShipCity'width100 },
                      { 
text'Country'datafield'ShipCountry'width140 },
                      { 
text'Ver'datafield'Ver',
                            
cellsrenderer: function (row) {
                                var 
rowdata = $("#jqxgrid").jqxGrid('getrowdata'row);
                                var 
name rowdata.ShipName;
                                var 
url 'detalle.php?ShipName=' name
                                
return "<a target='_blank' href='" url "'>Ver</a>";
            }}
        
                  ]
            });
        });