PDA

View Full Version : GridPanel?show??????????????



densan@tenrikyo.or.jp
22 Jun 2010, 6:04 PM
GridPanel????????,???????????(coloumn?rendeder?????????????????)

?????????windows?show?????,???????????

???: this.getRow(b) is undefined

?????

?????????????setTimeout???????????????

???,GridPanel?render??????????????????????
afterrender,
active,
afterlayout
?3?????????,?????

???,windows???TextField??????????????
windows.show()????????
???setTimeout???????

?????,???????????????

ironlion
23 Jun 2010, 4:40 PM
???: this.getRow(b) is undefined


this ?? ??????????????????????

densan@tenrikyo.or.jp
23 Jun 2010, 6:46 PM
???????????????

????????????this??????????

windows????????TextField????????
?????????????????

setTimeout ??? focus?deley????????????
?????focus?delay??windows?????????
?????????????????????????
setTimeout?????

ironlion
23 Jun 2010, 7:03 PM
YourWindow.on('show', function(win) {
Ext.getCmp('TextFieldID').focus(false, 500);
});

PS: ??????????

densan@tenrikyo.or.jp
24 Jun 2010, 7:44 PM
window???????????
active,show,afterlayout,afterrender,enable ???????
????????
??,??????????delay????????focus??
???,1????????????????,1????????????
?setTimeout????????????????????

Tommy1969
25 Jun 2010, 6:23 PM
GridPanel ?????? "viewready" ??????????????????????????????????~o)