Grid load values delay

  1. #1

    Grid load values delay

    Hello,
    I am implementing this example.
    We have a global variable which when changes the application loads different data.
    In you example something like changing the country so for different countries the Dashboard data is different.
    When I change this global variable the store is loading before the Dashboard-window opens, but the data in the grid is loading after a while. So the user when opens the window access the old data for a while.
    The problem is solved if I destroy the window instead of hiding it, but then when I select a line the application hangs here:
    var onSelectionChange = function (model, records)
    Error:
    Uncaught TypeError: Cannot read property 'getItems' of null
     if (!form) { //error line
                        form = this.up('form').getForm();
                        fields = form.getFields();
                        fields.each(function (field) {
                            if (field.name != 'Title') {
                                field.setDisabled(false);
                            }
                        });
    Last edited by atroul; Apr 06, 2017 at 3:01 PM.

Similar Threads

  1. how to Load values to textfields after combobox item selected
    By sunshineenterprises in forum 2.x Help
    Replies: 3
    Last Post: Jul 09, 2014, 5:34 PM
  2. Grid load all records on firts page (on load)
    By equiman in forum 1.x Help
    Replies: 0
    Last Post: Nov 21, 2013, 6:18 PM
  3. [CLOSED] Load Mask Not displaying on Grid Panel data load
    By WHISHWORKS in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 17, 2013, 3:44 PM
  4. [CLOSED] [1.2][performace] delay on load
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 30, 2012, 9:26 AM
  5. Selectin Grid Rows and Delay Ajax Event
    By EzaBlade in forum 1.x Help
    Replies: 2
    Last Post: Jan 28, 2009, 8:06 AM

Tags for this Thread

Posting Permissions