gigaZhang / struts2-jquery

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

Problem when editing select gridcolumn #918

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1.
My problem is same as issue 650 however it doesnt seem to be solved so I submit 
it again.
I am editing a field named "status" in db by using grid edit function via 
select, which works totally fine.  My status' are Not ready, Ready and Canceled 
and I save corresponding int values in the database.
<sjg:gridColumn name="status" index="status" title="Status" editable="true" 
edittype="select" editoptions="{value:'1:Not Ready;2:Ready;3:Canceled'}"  />

What is the expected output? What do you see instead?
When the grid is populated, I am expecting to see textual representations Not 
Ready, Ready, Canceled.  but the grid cell is showing the int values.  However 
when I click on the cell the problem disappears.

Which struts2 version?
2.3.4.1

Which struts2-jquery plugin version?
3.4

Please provide any additional information below.

Original issue reported on code.google.com by selimor...@gmail.com on 12 Nov 2012 at 5:02