◎筱米加步枪◎.Blog

Happy coding

ExtJs中出现this.ds.fields.get(i) is undefined错误解决方法

筱米加步枪 posted @ 2010年11月22日 09:09 in [ 前端技术 ] with tags Extjs , 2886 阅读

出现问题如题:依旧谷歌得:

原因:在Grid的列定义中一定要指定dataIndex属性,即使没有store中的对应上(比如一些附加字段)也要指定一个dataIndex,否则就会出现this.ds.fields.get(i) is undefined的错误。

解决方法:当然就是补上列定义中的dataIndex属性咯..

pavzi.com 说:
2024年1月23日 20:30

Pavzi.com provides all the news about Gadgets, the Economy, Technology, Business, Finance and many more. The main concept or our aim behind this website has been the will to provide resources with full information on each topic which can be accessed through the Internet. To ensure that every reader gets what is important and worthy about the topic they search and link to hear from us. pavzi.com Our site is a multiple Niche or category website which will ensure to provide information and resources on each and every topic. Some of the evergreen topics you will see on our website are Career, Job Recruitment, Educational, Technology, Reviews and others. We are targeting mostly so it is true that Tech, Finance, and Product Reviews. The only reason we have started this website is to make this site the need for your daily search use.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter