FineUI 官方论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

本论坛已关闭(禁止注册、发帖和回复)
请移步 三石和他的朋友们

FineUI首页 WebForms - MVC & Core - JavaScript 常见问题 - QQ群 - 十周年征文活动

FineUI(开源版) 下载源代码 - 下载空项目 - 获取ExtJS - 文档 在线示例 - 版本更新 - 捐赠作者 - 教程

升级到 ASP.NET Core 3.1,快、快、快! 全新ASP.NET Core,比WebForms还简单! 欢迎加入【三石和他的朋友们】(基础版下载)

搜索
查看: 3397|回复: 1
打印 上一主题 下一主题

Grid控件的AutoExpandColumn 问题

[复制链接]
跳转到指定楼层
楼主
发表于 2012-6-29 09:13:45 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这是代码:
<ext:Grid ID="Grid_dep" runat="server"  EnableCheckBoxSelect="true" EnableMultiSelect="false" EnableRowNumber="true" Title="" ShowHeader="false"  ShowBorder="false"  DataKeyNames="CID" EnableRowClick="true"
                    PageSize="10"  AllowPaging="true" BoxFlex="1" AutoExpandColumn="ADDR" BoxConfigAlign="Stretch" BoxConfigPosition="Left" AjaxLoadingType="Mask"  >
                <Columns>
                    <ext:BoundField Width="70px"  DataField="CID" DataFormatString="{0}" HeaderText="编码"  TextAlign="Center"/>
                    <ext:BoundField Width="150px" DataField="CNAME" DataFormatString="{0}" HeaderText="部门名称" />
                    <ext:BoundField Width="60px"  DataField="ATTN" DataFormatString="{0}" HeaderText="联系人"/>
                    <ext:BoundField Width="200px" DataField="TEL" DataFormatString="{0}" HeaderText="联系电话"/>
                    <ext:BoundField Width="80px" DataField="ZIP" DataFormatString="{0}" HeaderText="邮政邮编"/>
                    <ext:BoundField Width="250px" DataField="ADDR" DataFormatString="{0}"  HeaderText="地址"/>
                </Columns>
            </ext:Grid>
报如下错误:
消息: 'this.config[...].width' 为空或不是对象

是不是那个属性没设置对呀??
沙发
 楼主| 发表于 2012-6-30 00:33:32 | 只看该作者
没人知道吗?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|FineUI 官方论坛 ( 皖ICP备2021006167号-1 )

GMT+8, 2025-5-20 22:02 , Processed in 0.042942 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表