java Jsp 可编辑数据网格
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5866338/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Jsp Editable Datagrid
提问by Rachel
I have to build a datagrid.The grid should be editable and values should be passed .I am new to JSP .Can anyone tell me the step by step procedure of creating a editable datagrid in jsp without connecting to the database.
我必须构建一个数据网格。网格应该是可编辑的,并且应该传递值。我是 JSP 的新手。谁能告诉我在不连接数据库的情况下在 jsp 中创建可编辑数据网格的分步过程。
回答by Abdullah Jibaly
Take a look at http://code.google.com/p/jquery-datatables-editable/
看看http://code.google.com/p/jquery-datatables-editable/
You can simply apply it to an html table (create it in the jsp), and it will make it client-side editable.
您可以简单地将它应用到一个 html 表(在 jsp 中创建它),它会使其在客户端可编辑。
Here's an example of how to do it:
以下是如何执行此操作的示例:
http://code.google.com/p/jquery-datatables-editable/wiki/HTMLSource
http://code.google.com/p/jquery-datatables-editable/wiki/HTMLSource