简体   繁体   English

Struts2Jquery网格

[英]Struts2Jquery Grid

I am using Struts2Jquery Grid plugin . 我正在使用Struts2Jquery Grid插件 I have some questions which stops my work. 我有一些问题阻止了我的工作。

  1. I am creating ID column but while editing I am not getting the id value in my action class and if I am setting editable is true then I wll get the value of ID column in my action class.So how can I get non editable filed value in action class. 我正在创建ID列,但是在编辑时我没有在操作类中获取ID值,如果我将editable设置为true,那么我将在我的操作类中获取ID列的值,那么如何获得不可编辑的文件值在行动课上。

  2. In the Edit and Save form I have select box, on change value of selectbox I want to disable or enable some field. 在“编辑并保存”表单中,我具有“选择”框,在“选择框”的更改值上,我要禁用或启用某些字段。

  3. In my both form say I have three textbox and I am entering some values in first two textboxes when I go to third textbox I want the difference of first two textboxes values on the focus of thired textbox. 在我的两种形式中,我都有三个文本框,当我转到第三个文本框时,我要在前两个文本框中输入一些值,我希望前两个文本框值的差异集中在需要的文本框上。
  4. Is it possible to use jquery UI multiselect in struts2jquery Gird like erichynds and how I can implement this? 是否可以像chychynds一样在struts2jquery Gird中使用jquery UI multiselect,如何实现呢?

So can somebody help me how can I achieve this? 那么有人可以帮我实现这个目标吗?

Thank. 谢谢。

You can check the wiki of jqgrid here , i think that will help you to understand how jqgrid works. 您可以在此处查看jqgrid的Wiki,我认为这将帮助您了解jqgrid工作方式。 You can also see a detailed examples on struts2 jquery here . 您还可以在此处查看有关struts2 jquery的详细示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM