Results 1 to 2 of 2

Thread: Refresh component in 'General Tab' of task editor.

  1. #1
    Sencha User
    Join Date
    Jul 2013
    Location
    Bulgaria
    Posts
    1
    Vote Rating
    0
      0  

    Default Refresh component in 'General Tab' of task editor.

    Hi to all,

    I'm trying to add combo to the General Tab of the task editor. When a task is open(for edit), I send ajax request and based on the results I generate a store for the combo. But in general tab the combo is empty.

    When I opened again, the results are listed in the combo.

    The Ajax request is send on event:

    Code:
         
                  Ext.create('Gnt.plugin.TaskEditor', {
                        
                        // here i init and add the combo
                        taskFormClass : this.taskTypeLoader.typeIdentificator(),
                        listeners   : {
                             loadtask : function (taskeditor, task){
                                 // here, I send the ajax and fill the store
                                 this.gantt.taskTypeLoader.populateTypeStore(task);
                                // need here to refresh the combo
                             }
                        }
                    })

  2. #2
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    257
      0  

    Default

    Are you working with one of the Bryntum products?
    http://www.bryntum.com/products/gantt/examples/
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

Tags for this Thread

Posting Permissions

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