Ext.ensible.cal.RecurrenceField在Ext.TabPanel上不起作用

时间:2018-06-21 14:58:41

标签: calendar extjs4 sencha-touch recurrence recurring

我是var docs = [{"id":"1","type":{"id":1,"desc":"Category 1"},"title":"Foo","date":"2018-06-21","attachments":[{"id":51,"filename":"foo.pdf","title":"Foo"},{"id":20,"filename":"bar.doc","title":"Bar"}]},{"id":"2","type":{"id":2,"desc":"Category 2"},"title":"Bar","date":"2018-06-21","attachments":[{"id":15,"filename":"foobar.xls","title":"Foobar"},{"id":201,"filename":"example.doc","title":"Example"}]}]; const result = docs.map(({id,type,attachments})=>{ let doc={id,type}; doc.attachments=attachments.map(({id})=>({id})); return doc; }); console.log(result);的新手,并且我正在一个项目,该项目在安排约会后会重复发生。

经过一番挖掘,我得到了一个用于创建重复发生的链接,例如http://ext.ensible.com/deploy/dev/examples/form/recurrence-widget.html

我必须在ExtJS中显示一些字段。我在项目列中使用了以下代码,但Ext.TabPanel中不包含重复视图。

代码:

panel

我尝试在项目中包含var recurField = Ext.createWidget('extensible.recurrencefield', { anchor: '90%', listeners: { 'change': function (field, value) { Ext.get('recur-value').update(field.getValue() || '(Empty string)'); Ext.get('recur-desc').update(field.getDescription() || '(Empty string)'); } }, frequencyWidth: 181 }); ,但遇到错误Ext.ensible.ical.RecurrenceField

我想念什么吗?

请以正确的方式指导我...

0 个答案:

没有答案