ExtJS 4 Change grid store on the fly

前端 未结 4 1499
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-31 09:54

Is it posible to change grid\'s store in ExtJS 4?

For example, i have two models:

User = Ext.define(\'User\',{
  extend: \'Ext.data.Model\',
  [...],
  h         


        
4条回答
  •  無奈伤痛
    2021-01-31 10:05

    I think a better solution would be to :

         grid1.on('itemclick', function(view, record) {
             grid2.reconfigure(record.products());
         );
    

提交回复
热议问题