• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Pre render some fields in the DUALLISTFIELD on the other side

 
Greenhorn
Posts: 6
Mac OS X Objective C Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a duallistfield which has 9 fields. Now what i want is that, whenever a user loads my page 5 of those 9 fields should automatically be populated on the listfield giving user the choice to choose the remaining 4 as they wish. can someone please let me know how do we do it?

I have attached the desired output that i need. in my current implementation all the values are on the left box.

thanks in advance.



have posted the post on http://www.sencha.com/forum/showthread.php?136063-Pre-render-some-fields-in-the-DUALLISTFIELD-on-the-other-side forum also....
DUALLISTFIELD.PNG
[Thumbnail for DUALLISTFIELD.PNG]
Desired result
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure I am understanding the problem here.
Why can't you just add the 4 items to the list before it is shown?
 
Varin Adhkab
Greenhorn
Posts: 6
Mac OS X Objective C Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks maneesh for replying..but i got the solution for my problem...

my problem was to pre load other side of the list with defaul values...and the solution was to implement and use this method


com.extjs.gxt.ui.client.widget.form.DualListField.getToList()
 
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!