Oct 17, 2013, 3:06 PM
[CLOSED] is it possible to add xtemplate to gridpanel ?
i want to use custom css style to apply gridpanel's rows and need paging feature.
I found xtemplate can apply custom css style, but not found it has paging feature.
so can add xtemplate as columns to gridpanel? or how to add paging feature to xtemplate ?
I found xtemplate can apply custom css style, but not found it has paging feature.
so can add xtemplate as columns to gridpanel? or how to add paging feature to xtemplate ?
<ext:GridPanel ID="gp_art" runat="server" HideHeaders="True">
<Store>
<ext:Store runat="server" ID="s_art" OnReadData="ReadArt">
<Model>
<ext:Model runat="server">
<Fields>
<ext:ModelField Name="id"></ext:ModelField>
<ext:ModelField Name="title"></ext:ModelField>
<ext:ModelField Name="addtime"></ext:ModelField>
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
<ext:XTemplate ID="XTemplate1" runat="server">
<Html>
<tpl for=".">
<p>
<b>id:</b> {Name}<br/>
<b>title:</b> {title}<br/>
<b>addtime:</b> {addtime}
</p>
</tpl>
</Html>
</ext:XTemplate>
</ext:GridPanel>
i try to code above , but how to correct it?
Last edited by Daniil; Oct 22, 2013 at 2:43 PM.
Reason: [CLOSED]