Win a copy of Functional Design and Architecture this week in the Functional programming 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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()
 
You showed up just in time for the waffles! And this tiny 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
reply
    Bookmark Topic Watch Topic
  • New Topic