<ext:Store ID="Store1" OnRefreshData="Store1_RefershData" runat="server" AutoLoad="true">
<Proxy>
<ext:PageProxy/>
</Proxy>
<Reader>
<ext:JsonReader IDProperty="ID">
<Fields>
<ext:RecordField Name="ID" Mapping="ID" />
<ext:RecordField Name="Name" Mapping="Name"/>
<ext:RecordField Name="TypeName" Mapping="TechnologyType.Name"/>
<ext:RecordField Name="IsSmallUse" Mapping="IsSmallUse" />
<ext:RecordField Name="IsMediumUse" Mapping="IsMediumUse" />
<ext:RecordField Name="IsLargeUse" Mapping="IsLargeUse" />
<ext:RecordField Name="IsHeavyUse" Mapping="IsHeavyUse" />
<ext:RecordField Name="Re" Mapping="Re"/>
<ext:RecordField Name="CreatedOn" Mapping="CreatedOn" DateFormat="yyyy-MM-dd"/>
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>提示说这个
<ext:RecordField Name="TypeName" Mapping="TechnologyType.Name"/>
找不到 Name,TechnologyType是引用类型。
第二个问题: <ext:TemplateColumn Sortable="false" Header="适用车型">
<Template runat="server">
<Html>
<tpl for=".">
{IsSmallUse},
{IsMediumUse},
{IsLargeUse},
{IsHeavyUse}
</tpl>
</Html>
</Template>
</ext:TemplateColumn> {IsSmallUse}这个是int的,我想程序替换成对应的文字信息。怎么替换。js,c#都行。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货