Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
19
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()
 
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic