gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

gridColumn - Checkbox enable/disable based on bean value #1131

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a checkbox listed in the grid column and it is checked/selected based on 
the bean value set in Java bean property (true/false). But I need the checkbox 
enabled or disabled based on the bean Boolean value instead of check(select). 
Please let me know if there is any way to implement this.

What steps will reproduce the problem?
1. Implement the struts2-jquery
2. Add check box to the column
edittype="checkbox" 
formatter="checkbox"
3. Set bean value for this column

What is the expected output? What do you see instead?
Checkbox needs to be enabled/disabled based on boolean value set in Java Bean.

Which struts2 version?
2.3

Which struts2-jquery plugin version?
3.7.0

Original issue reported on code.google.com by premsu...@gmail.com on 8 Apr 2015 at 9:36