Nov 07, 2008, 6:24 AM
[CLOSED] Gridpanel, error when using CheckboxSelectionModel and FN renderer
Hi
Im trying to use a gridpanel with CheckboxSelectionModel, one column in this grid had a FN renderern. That does not work, i get a javascript error. It works fine if I change Selection model to RowSelection.
<ext:GridPanel
runat="server"
ID="gpHistory"
AutoHeight="true"
AutoWidth="true"
Title="Booking history"
Frame="false"
StoreID="Store1" Floating="true" Border="false" BodyBorder="true" >
<ColumnModel ID="ColumnModel1" runat="server">
<Columns>
<ext:Column DataIndex="Id" Header="Version" Width="80" />
<ext:Column ColumnID="Info" Header="Show" Width="50" Align="Center" Fixed="true" MenuDisabled="true" Resizable="false">
<Renderer Fn="ShowInfo" />
</ext:Column>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:CheckboxSelectionModel></ext:CheckboxSelectionModel>
</SelectionModel>
<BottomBar>
<ext:PagingToolBar ID="PagingToolBar1" runat="server" PageSize="10" StoreID="Store1" DisplayInfo="false" /></BottomBar>
</ext:GridPanel>
/Mikael