Jun 11, 2009, 3:17 PM
Only one items available
Hello
I am trying to add second row to GridPanel's rows, the same way it is done in GridPanel-SqlDataSource example. When I copy/paste the following to my GridPanel, I start getting "Only one items available" error:
I am trying to add second row to GridPanel's rows, the same way it is done in GridPanel-SqlDataSource example. When I copy/paste the following to my GridPanel, I start getting "Only one items available" error:
<View>
<ext:GridView ID="GridView1" runat="server" EnableRowBody="true">
<GetRowClass Handler="rowParams.body = '<p>'+record.data.MyLongField +'</p>'; return 'x-grid3-row-expanded';" />
</ext:GridView>
</View>
The error message highlights the following string:Line 244: <ext:GridPanel ID="GridPanel1" runat="server" Height="400" StoreID="" StripeRows="true
I bind GridPanel in my codebehind like this: MyStore.DataSource = dao.GetData();
MyStore.DataBind();
GridPanel1.StoreID = "MyStore";
GridPanel1.DataBind();
Can anybody help?