1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    12
    Vote Rating
    0
    greenFeather is on a distinguished road

      0  

    Default picker useTitles doesn't seam to work

    picker useTitles doesn't seam to work


    picker useTitles:true doesn't show titles at the top of each slot like I'd expect.
    using Sencha Touch 1.0, iPhone sim and Safari

    here's example code:


    var pickerII = new Ext.Picker({
    height:'440',
    useTitles:true,
    slots: [
    {
    name : 'limitSpeed',
    title: 'Speed',
    text:'Speed',
    data : [
    {text: '50 KB/s', value: 50},
    {text: '100 KB/s', value: 100},
    {text: '200 KB/s', value: 200},
    {text: '300 KB/s', value: 300}
    ]
    }
    ],
    listeners:{
    beforehide : function() {
    var valueObj = this.getValue();
    Ext.getCmp('pickerII').setValue(valueObj.limitSpeed);
    }
    }

    });
    Last edited by greenFeather; 17 Nov 2010 at 11:14 PM. Reason: adding version specification 1.0

  2. #2
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
    SunboX has a spectacular aura about SunboX has a spectacular aura about

      0  

    Default


    useTitles doesn´t work for me, too. Did you get it working?

    thx Sunny

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    12
    Vote Rating
    0
    greenFeather is on a distinguished road

      0  

    Default nope, titles not working yet, at least in V1.0

    nope, titles not working yet, at least in V1.0


    I haven't put much time into this though.

    I'm using Sencha V1.0, MAYBE they fixed something in the latest release?

  4. #4
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
    SunboX has a spectacular aura about SunboX has a spectacular aura about

      0  

    Default


    Seems not working with version 1.0.2

Similar Threads

  1. Customer Picker does not work
    By KimSchneider in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 15 Nov 2010, 6:55 AM
  2. Seam Integration
    By rhernandez_64 in forum Community Discussion
    Replies: 3
    Last Post: 5 Sep 2008, 10:02 AM
  3. Code won't work in IE7, no JS errors, just doesn't work
    By blackwaterdev in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 17 Sep 2007, 5:06 AM
  4. Date Picker Doesn't Use Ext.Button
    By shadowfiend in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 20 Jul 2007, 4:39 AM

Thread Participants: 1