admin管理员组

文章数量:1391977

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.

本文标签: javascriptWhat180s the difference in between id and itemID in Sencha TouchStack Overflow