Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含元素的列表。如何在列表项中呈现表单字段,以便当用户单击列表项时,该字段获得焦点,并且用户可以输入值。
我想在您列表中的 itemTpl 配置中,您可以添加 html 输入/文本字段
xtype:'list', disableSelection:true, store: 'Store', itemTpl:'<TR><TH>INFO</TH><TD><INPUT TYPE="TEXT" NAME="name" SIZE="20"></TD></TR>' ,