Search:

Type: Posts; User: haduki

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    2,058

    "distance" and "bla" why you sort different...

    "distance" and "bla"
    why you sort different fields in one sorter?
  2. The op said you want to add listener to...

    The op said you want to add listener to component in carousel,so my post is for the item in carousel,not the carousel itself.
    Here is listener for carousel:


    listeners:[
    {
    ...
  3. {                 xtype:'container',          ...

    {
                    xtype:'container',
                    itemId: 'dayViewContainer',
    layout:'fit'
                }
  4. { listeners:{ tap:{ ...

    {
    listeners:{
    tap:{
    element:'element',
    fn:function(){
    console.info('tap');
    ...
  5. Replies
    2
    Views
    1,304

    store.load(function(){ var marker = new...

    store.load(function(){
    var marker = new google.maps.Marker({


    position: new google.maps.LatLng((store.getAt(0).data.latitude),(store.getAt(0).data.longitude)),
    map:map

    ...
  6. var globalvalue="undefined"; var value =...

    var globalvalue="undefined";
    var value = globalvalue;
    globalvalue = 'Blah';
    value === 'Blah'? 'We are not in the same earth':'The value did not change of course';


    You should use the global...
  7. Replies
    4
    Views
    700

    Sencha.Demo.controller.Bus if (!this.busMap)...

    Sencha.Demo.controller.Bus


    if (!this.busMap) {
                this.busMap = Ext.widget('busMap', {
                    scrollable: false
                });
            }
  8. success

    success
  9. Replies
    5
    Views
    1,721

    I am sorry.Yes,you are right. in my code,should...

    I am sorry.Yes,you are right.
    in my code,should add 'load' listener on store,not the selectfield.


    //this.getLanguageCombo().on(...)
    this.getLanguageCombo().getStore().on(...)
  10. Replies
    2
    Views
    1,128

    http://docs.sencha.com/touch/2-1/#!/guide/dataview...

    http://docs.sencha.com/touch/2-1/#!/guide/dataview-section-4
  11. Replies
    5
    Views
    1,721

    form.show() is sync. store.load() is async. ...

    form.show() is sync.
    store.load() is async.



    InitialiseLanguageCombo: function(){
    console.log(this.getLanguageCombo());
    debugger;
    ...
  12. Replies
    2
    Views
    997

    var tabButtons =...

    var tabButtons = main.down('#mainTabPanel').query('button');
    Ext.each(tabButtons ,function(button){
    console.dir(button);
    });
  13. Replies
    1
    Views
    1,251

    Ext.create('Ext.List', { fullscreen: true, ...

    Ext.create('Ext.List', {
    fullscreen: true,
    itemTpl: '<div style="background-color:{[values.dateOffset<0?"red":"green"]}">{title}</div>',
    data: [
    {dateOffset : 1, title:...
  14. Replies
    3
    Views
    488

    var list=Ext.create('Ext.List', { ...

    var list=Ext.create('Ext.List', {
    fullscreen: true,
    itemTpl: '{title}',
    store:Ext.create('Ext.data.Store',{
    data: [
    {object_id: '1', title: 'Hello', lat:...
  15. Replies
    4
    Views
    808

    This is NOT a json ! ...

    This is NOT a json !
    ??????json??????js???".join()"???????js????????
    json??????????????????????JS???????????
  16. Replies
    5
    Views
    3,060

    'scrollDock' only works for Ext.dataview.List,...

    'scrollDock' only works for Ext.dataview.List, the default value is 'top'. you can try 'bottom' to find the difference.

    'Ext.dataview.DataView' extends from 'Ext.Container'. You can add items like...
  17. Thread: Complex Routers

    by haduki
    Replies
    1
    Views
    851

    'product/:id[?].+'

    'product/:id[?].+'
  18. Replies
    5
    Views
    3,060

    Ext.create('Ext.List', { fullscreen: true, ...

    Ext.create('Ext.List', {
    fullscreen: true,
    itemTpl: '{title}',
    items:[{
    xtype:'container',
    scrollDock:'top',
    height:50,
    html:'another container'
    ...
  19. itemId is for container id is for controller ...

    itemId is for container
    id is for controller



    refs: {
    gameSearch: 'searchfield[itemId="gameSearch"]'
    //'[itemId="gameSearch"]' also works
    }
  20. Replies
    8
    Views
    1,150

    stretchY:true

    stretchY:true
  21. You can not control or ref a component which has...

    You can not control or ref a component which has been destroyed.
    Though you create a new instance,but the references would not link to the new one ever unless you do 'setRefs' and 'setControl' again.
  22. Replies
    2
    Views
    1,370

    if you have only 2 items ...

    if you have only 2 items


    container.insert(0,container.getInnerItems(1));
  23. Replies
    3
    Views
    949

    Ext.Array.each(record.get('customers'),...

    Ext.Array.each(record.get('customers'), function(customer, index) {
    customersStore.add(customer);
    });

    what is 'record'? Are you sure the type of 'customers' field is 'auto'?
  24. 'fields' is a config Ext.define('Bug', { ...

    'fields' is a config


    Ext.define('Bug', {
    extend: 'Ext.data.Model',
    config:{
    fields: ['title', 'description', 'status', 'severity']
    }

    });
  25. 1/ sorry for my poor english,i cant say long...

    1/ sorry for my poor english,i cant say long sentence.
    you just need to know:


    dataFromServer={users:[{ roles:[{id:'role_1'}]}]}
    associationKey should be 'roles'

    dataFromServer={users:[{...
Results 1 to 25 of 227
Page 1 of 10 1 2 3 4