|
|
@ -14,6 +14,7 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, { |
|
|
|
scrollTop: 0, |
|
|
|
scrollTop: 0, |
|
|
|
rowHeight: "auto", |
|
|
|
rowHeight: "auto", |
|
|
|
items: [], |
|
|
|
items: [], |
|
|
|
|
|
|
|
el: {}, |
|
|
|
itemFormatter: function (item, index) { |
|
|
|
itemFormatter: function (item, index) { |
|
|
|
return item; |
|
|
|
return item; |
|
|
|
} |
|
|
|
} |
|
|
@ -39,10 +40,10 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, { |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.container = this; |
|
|
|
self.container = this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
layouts: [{ |
|
|
|
layouts: [BI.extend({ |
|
|
|
type: "bi.vertical", |
|
|
|
type: "bi.vertical", |
|
|
|
scrolly: false |
|
|
|
scrolly: false |
|
|
|
}] |
|
|
|
}, o.el)] |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.layout", |
|
|
|
type: "bi.layout", |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|