config.store=store; config.dockedItems[1].store=[0]; config.dockedItems[2].store=store; config.cf=0;
时间: 2023-05-19 10:02:23 浏览: 34
这是一段代码,其中config是一个对象,store是一个变量。根据代码的语法,config对象有一个名为store的属性,dockedItems数组中的第一个元素也有一个名为store的属性,值为0,第二个元素的store属性的值与config对象的store属性相同,而cf属性的值为0。
相关问题
this.store.getProxy().extraParams=[params,this.mothed]; this.dockedItems.items[3].moveFirst();
这是一段 JavaScript 代码,它将参数 params 和方法名 this.mothed 存储在 store 的代理中,并将第四个 docked item 移动到第一个位置。这段代码可能是用于某个框架或应用程序中的数据处理或页面渲染。
onButtonClick: function(button, e, eOpts) { var params=[],tool=this.down('toolbar'),dates=tool.query('datefield'), YMD=tool.down('#YMD').getValue(),chart=this.down('chart'), Class=tool.down('#Class').getValue(), deptid=1; if(this.cf===0){ this.cf=1; chart.bindStore(this.store); } params.push(dates[0].getRawValue()); params.push(dates[1].getRawValue()); params.push(deptid); params.push(YMD); params.push(Class); this.store.getProxy().extraParams=[params,this.mothed]; this.dockedItems.items[3].moveFirst(); }
在这段代码中,当按钮被点击时,会执行一个函数。这个函数会获取一些参数,包括一个工具栏和一些日期字段。然后,它会从工具栏中获取一个特定的日期字段,并将其值存储在一个变量中。最后,它会使用这个日期值来执行一些操作。