Search:

Type: Posts; User: vietits

Search: Search took 0.26 seconds.

  1. Replies
    5
    Views
    19,248

    var store = modelFactory(rec.get('Reference'),...

    var store = modelFactory(rec.get('Reference'), rec.get('ResultFields'));
    var grid = Ext.create('Ext.grid.Panel', {
    title: 'Gridview',
    forceFit: true,
    store: store,
    columns: tabColumns
    });
  2. Replies
    5
    Views
    19,248

    Instead of assigning store to ND.store, you...

    Instead of assigning store to ND.store, you should assign it to a local variable and then return it to the calling.


    //dynamic model
    modelFactory = function (name, fields) {
    ...
Results 1 to 2 of 2