javascript - What´s the difference in between id and itemID in Sencha Touch? - Stack Overflow

I am working in a project based in Sencha 2.3.1 but It´s not working the button with ItemID but it´s co

I am working in a project based in Sencha 2.3.1 but It´s not working the button with ItemID but it´s correctly working with the ID property.. What is the mistake??

Thanks!!

I am working in a project based in Sencha 2.3.1 but It´s not working the button with ItemID but it´s correctly working with the ID property.. What is the mistake??

Thanks!!

Share Improve this question asked Jul 21, 2014 at 18:25 inaneinane 64810 silver badges28 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 8

id : The id of a ponent translates to an html id attribute. As for html, the id must be unique in the document or application.

itemId : The itemId is a reference internal to ExtJs. It doesn't need to be globally unique, but it must be unique among the child ponents from the parent where you want to use the reference. No two sibling ponents can have the same itemId.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744691754a4588250.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信