May 23, 2012, 10:30 AM
SortChange Direct Event doesn't fire at all
Hi guys,
I got this weird behaviour of the grid. I've attached quite a few events and all of the seems to work fine apart from SortChange!
Data still gets sorted out on the grid but no event is fired at all.
This is what I've got on the grid at the moment:
Thanks
I got this weird behaviour of the grid. I've attached quite a few events and all of the seems to work fine apart from SortChange!
Data still gets sorted out on the grid but no event is fired at all.
This is what I've got on the grid at the moment:
<ext:GridPanel ID="MainGrid" runat="server" Frame="true" StoreID="storeGrid" StripeRows="true" AnimCollapse="false" Icon="ApplicationViewColumns"
ClientIDMode="Static" Layout="Fit" Stateful="false" Cls="gridPanel">
<Listeners>
<DblClick Fn="startEditing" />
<KeyDown Fn="startEditing" />
<AfterEdit Fn="afterEdit" />
</Listeners>
<DirectEvents>
<ColumnMove OnEvent="SaveGridSettings">
<ExtraParams>
<ext:Parameter Name="settings" Value="getSettings(#{MainGrid})" Mode="Raw"></ext:Parameter>
</ExtraParams>
</ColumnMove>
<ColumnResize OnEvent="SaveGridSettings">
<ExtraParams>
<ext:Parameter Name="settings" Value="getSettings(#{MainGrid})" Mode="Raw"></ext:Parameter>
</ExtraParams>
</ColumnResize>
<SortChange OnEvent="SaveGridSettings">
<ExtraParams>
<ext:Parameter Name="settings" Value="getSettings(#{MainGrid})" Mode="Raw"></ext:Parameter>
</ExtraParams>
</SortChange>
<GroupChange OnEvent="SaveGridSettings">
<ExtraParams>
<ext:Parameter Name="settings" Value="getSettings(#{MainGrid})" Mode="Raw"></ext:Parameter>
</ExtraParams>
</GroupChange>
</DirectEvents>
Any ideas why is this the only event firing? And if there is a substitute which one would be a good candidate to get column sorting changes?Thanks