Results 1 to 5 of 5

Thread: 2 List box controls with the left and right move ability

  1. #1

    Default 2 List box controls with the left and right move ability

    Can any one help me out in creating list boxes with buttons seperating them, On click of button selected item from list box 1 should move to list box 2 and vice versa. Is there a control for this in extjs..or do we have to design it..if so how..could some one help out.

  2. #2
    Sencha User bclinton's Avatar
    Join Date
    Nov 2007
    Posts
    305

    Default

    I don't think anyone has made a control like that, but it wouldn't be very difficult. In fact, it would probably be a pretty good first project to familiarize yourself with Ext.

    You are going to want two Ext.form.Combobox: http://www.extjs.com/deploy/dev/docs....form.ComboBox

    and two Ext.Button: http://www.extjs.com/deploy/dev/docs/?class=Ext.Button

    Stick them in a panel, load the comboxes with data, and write handlers for your buttons to move items back and forth.

  3. #3

    Default

    Quote Originally Posted by bclinton View Post
    I don't think anyone has made a control like that, but it wouldn't be very difficult. In fact, it would probably be a pretty good first project to familiarize yourself with Ext.

    You are going to want two Ext.form.Combobox: http://www.extjs.com/deploy/dev/docs....form.ComboBox

    and two Ext.Button: http://www.extjs.com/deploy/dev/docs/?class=Ext.Button

    Stick them in a panel, load the comboxes with data, and write handlers for your buttons to move items back and forth.

    Thx

  4. #4

    Default Ext-GWT has this control

    (If Java is an option for you)

  5. #5
    Ext JS Premium Member
    Join Date
    Jul 2009
    Posts
    239

    Default

    Such a control is already present as a user extension right in the ExtJS distribution.
    Look here for the same (the bottom one named "ItemSelector", of course):
    http://www.extjs.com/deploy/dev/exam...lect-demo.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •