Google Analytics İzleme

16 Eylül 2010

ext veya Coolite GridPanel'in PagingToolbar'da bulunan yenile butonunu gizleme


Toolbar render olurken this.loading.hideParent = true; this.loading.hide(); javascripti ile gizlemeyi sağlamış oluruz.

Örnek kullanım:

<ext:GridPanel ID="GridPanelAux9" runat="server"
                        Title="Aux9 Sürelerim"
                        StoreID="StoreForAux9RelationCause"
                        StripeRows="true"
                        AutoExpandColumn="clmnInformation"
                        >
                        <ColumnModel ID="ColumnModel1" runat="server">
                            <Columns>
                            ....
                            ....
                            </Columns>
                        </ColumnModel>
                        <SelectionModel>
                            <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" />                           
                        </SelectionModel>
                        <LoadMask ShowMask="true" />
                        <View>
                            <ext:GridView AutoFill="true" DeferEmptyText="false" EmptyText="Kayıt yok."></ext:GridView>
                        </View>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolBar1" runat="server" PageSize="10" StoreID="StoreForAux9RelationCause" >
                                <Listeners>
                                    <Render Handler=" this.loading.hideParent = true; this.loading.hide();" />
                                </Listeners>
                            </ext:PagingToolbar>
                        </BottomBar>
</ext:GridPanel>

Kaynak:
http://www.coolite.com/forums/Topic14956-4-1.aspx#bm16812
http://www.sencha.com/forum/showthread.php?28755-Disable-the-refresh-button-in-PagingToolbar&p=330511
http://dev.sencha.com/deploy/dev/docs/?class=Ext.PagingToolbar



Hiç yorum yok: