New issue 716 by nithyakp...@gmail.com: Cannot display values dynamically
in dropdown using edit jquery grid
http://code.google.com/p/struts2-jquery/issues/detail?id=716
I am not getting values in dropdown of my editable jquery grid
My grid column tag is like this
---------------------------
<sjg:gridColumn name="clientName" index="clientName"
cssStyle="width:180px;" id="project.clientName" title="clientName"
align="right" editable="true"
edittype="select"
editoptions="%{myEditOptions}" sortable="false"
search="false"/>
----------------------------
and in my action class
------------
public String execute(){
clientlist = new ProjectDBP().getClient();
List<Class> list123 = new ArrayList<Class>(clientlist.values());
myEditOptions = "{value:'"+StringUtils.join(list123,";")+"'}";
return "success";
}
public String getMyEditOptions() {
return myEditOptions;
}
public void setMyEditOptions(String myEditOptions) {
this.myEditOptions = myEditOptions;
}
----------------------
should I've to add anything more? plse explain the work flow of drop down?
Could you plse reply fast
Thank you in advance
Comment #1 on issue 716 by johgep: Cannot display values dynamically in
dropdown using edit jquery grid
http://code.google.com/p/struts2-jquery/issues/detail?id=716
Do you have seen the Example in the Grid Showcase?
I had gone through the examples..Got the flow ...
This site also helped a lot
Thank you for your reply
Comment #3 on issue 716 by johgep: Cannot display values dynamically in
dropdown using edit jquery grid
http://code.google.com/p/struts2-jquery/issues/detail?id=716
(No comment was entered for this change.)