View Full Version : [CLOSED] is it possible to add xtemplate to gridpanel ?

Oct 17, 2013, 3:06 PM
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 ?

<ext:GridPanel ID="gp_art" runat="server" HideHeaders="True">
<ext:Store runat="server" ID="s_art" OnReadData="ReadArt">
<ext:Model runat="server">
<ext:ModelField Name="id"></ext:ModelField>
<ext:ModelField Name="title"></ext:ModelField>
<ext:ModelField Name="addtime"></ext:ModelField>
<ext:XTemplate ID="XTemplate1" runat="server">
<tpl for=".">
<b>id:</b> {Name}<br/>
<b>title:</b> {title}<br/>
<b>addtime:</b> {addtime}


i try to code above , but how to correct it?

Oct 17, 2013, 3:26 PM
Hi @hdsoso,

You might be looking for a DataView: