Hi, im newbie with JSP and JqGrid, sorry for my english, i use a web translator. I tried to implement the interface “Custom Edit” (http://trirand.com/blog/jqgrid…..qgrid.html) shown as examples in the Framework page. Instead of using buttons Imagebuttons've tried to use, but that's not the problem that does not work. For example, data pertaining to E-mail are loaded in the previous column (Phone) and so with all the columns. If I delete the column that I added later (Actions) data is displayed correctly. For more than review the code I can not find why, to see if you can get me out of this jam that I can not leave. The following code handles jqGrid paint the grid and the page in general.
ListadoClientes.jsp
|
1 |
<%@page contentType="text/html" pageEncoding="UTF-8"%><br /><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br /><html><br /> <head><br /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br /> <title>Listado de clientes</title><br /> <br /> <link rel="stylesheet" type="text/css" media="screen" href="css/jquery-ui-1.8.6.custom.css" /><br /> <link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /><br /><br /> <script src="js/jquery.js" type="text/javascript"></script><br /> <script src="js/grid.locale-es.js" type="text/javascript"></script><br /> <script src="js/jquery.jqGrid.min.js" type="text/javascript"></script><br /> <script type="text/javascript"><br /> $().ready(function()<br /> {<br /> var windowWidth = (document.documentElement.clientWidth - 100) /1.2;<br /><br /> jQuery("#gridClientes").jqGrid(<br /> {<br /> url:'getCustomerGrid.jsp',<br /> datatype: "json",<br /> colNames:['Codigo','Nombre','Apellidos','Direcci</script></head></html> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top