Jul 21, 2009, 6:57 AM
[CLOSED] GridPanel Cell click and check box selection
Hi,
I have gridpanel, i need the check box selection and cell click also.
in first column checkbox
in second column name
in third column date and time
in fourth column image.(by clicking this image column i am downloading the file)
code as follows
thanks and regards
speedstep
I have gridpanel, i need the check box selection and cell click also.
in first column checkbox
in second column name
in third column date and time
in fourth column image.(by clicking this image column i am downloading the file)
code as follows
<ext:GridPanel ID="GrdPnl1" runat="server" StoreID="Sto1" StripeRows="true" Height="150" Header="false" Border="false">
<ColumnModel>
<Columns>
<ext:CheckColumn DataIndex="Chk" Fixed="true" Width="50" Editable="true">
</ext:CheckColumn>
<ext:Column DataIndex="Chk" ></ext:Column>
<ext:Column DataIndex="Name" ></ext:Column>
<ext:Column DataIndex="Filedate" Width="150"></ext:Column>
<ext:Column DataIndex="FileAttachment" Width="50">
<Renderer Fn="Imagerender" />
</ext:Column>
</Columns>
</ColumnModel>
<Listeners>
<CellClick Fn="cellClick" />
</Listeners>
</ext:GridPanel>
<ext:Store ID="Sto1" runat="server">
<Reader >
<ext:JsonReader ReaderID="ATTACH_NO">
<Fields>
<ext:RecordField Name="Chk">
</ext:RecordField>
<ext:RecordField Name="Name"></ext:RecordField>
<ext:RecordField Name="Filedate">
</ext:RecordField>
<ext:RecordField Name="FileAttachment"></ext:RecordField>
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
i need multiple check box selection and if i click the image in grid i need to download the file how to do thisthanks and regards
speedstep