2010-07-07 11:30:04 +07:00
|
|
|
function ad_deferRenderBorderLayout(uuid, timeout) {
|
2012-02-29 20:38:49 +07:00
|
|
|
var meta = zk.Widget.$(uuid);
|
2010-07-07 11:30:04 +07:00
|
|
|
if (meta) {
|
|
|
|
setTimeout("_ad_deferBDL('"+uuid+"')", timeout);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function _ad_deferBDL(uuid) {
|
2012-03-05 11:52:25 +07:00
|
|
|
var cmp = zk.Widget.$(uuid);
|
|
|
|
if (cmp) { cmp.resize(); }
|
2010-07-07 11:30:04 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
function ad_closeBuble(uuid) {
|
2012-02-29 20:38:49 +07:00
|
|
|
var cmp = zk.Widget.$(uuid);
|
2012-03-05 11:52:25 +07:00
|
|
|
if (cmp) {
|
|
|
|
for(var i=0;i<cmp.bandInfos.length;i++){
|
|
|
|
cmp.instance.getBand(i).closeBubble();
|
|
|
|
}
|
2010-07-07 11:30:04 +07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function scrollToRow(uuid){
|
2012-02-29 20:38:49 +07:00
|
|
|
var cmp = zk.Widget.$(uuid);
|
2012-03-05 11:52:25 +07:00
|
|
|
if (cmp) {
|
|
|
|
cmp.scrollIntoView();
|
|
|
|
cmp.focus();
|
|
|
|
}
|
2010-07-07 11:30:04 +07:00
|
|
|
}
|
|
|
|
|