Sep 18, 2008, 10:44 AM
GridPanel SelModel
Quick question,
On PostBack how would I get the selected items from the GridPanel with the following example:
Timothy
On PostBack how would I get the selected items from the GridPanel with the following example:
<ExtJS:Store ID="Categories"
runat="server"
AutoLoad="True">
<Reader>
<ExtJS:JsonReader ReaderID="CategoryId">
<Fields>
<ExtJS:RecordField Name="CategoryId" />
<ExtJS:RecordField Name="Translation" />
</Fields>
</ExtJS:JsonReader>
</Reader>
</ExtJS:Store>
<ExtJS:GridPanel ID="dgCategories"
runat="server"
StoreID="Categories"
AutoExpandColumn="Translation"
AutoHeight="True"
StripeRows="True"
TrackMouseOver="True"
Width="325">
<ColumnModel>
<Columns>
<ExtJS:Column ColumnID="Translation" DataIndex="Translation" Header="Category" MenuDisabled="True" />
</Columns>
</ColumnModel>
<SelModel>
<ExtJS:CheckboxSelectionModel ID="CategorySelection" runat="server" />
</SelModel>
</ExtJS:GridPanel>
Cheers,Timothy