1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    175
    Answers
    4
    Vote Rating
    2
    renganathan is on a distinguished road

      0  

    Default Unanswered: Tree grid with checkbox model and paginaton

    Unanswered: Tree grid with checkbox model and paginaton


    Hi all,

    Is it possible to include check-box model and pagination in tree grid ?

    I tried to implement this, but not working .

    can someone suggest how to do that?
    Thanks,

    RENGANATHAN M G

  2. #2
    Sencha User
    Join Date
    Dec 2009
    Location
    Enschede, The Netherlands
    Posts
    327
    Answers
    16
    Vote Rating
    13
    flanders will become famous soon enough

      0  

    Default


    An Checkbox Selection Model can be used on tree's, just like it can be used on a 'regular grid'

    Code:
    Ext.define("some.abstract.base.Tree", {
        extend: "Ext.tree.Panel",
        alias: "widget.basetree",
            constructor: function(config) {
            Ext.applyIf(config, {
                border: 0,
                bodyStyle: "background-color: transparent;",
                rootVisible: false,
                selModel: Ext.create("Ext.selection.CheckboxModel"),
                hideHeaders: true,
                useArrows: true
            });
            this.callParent([config]);
        }
    });
    On pagination. If I'm not mistaken pagination is not supported yet on treestore's. But maybe deferred loading of children is enough split of datathroughput for you?
    Last edited by flanders; 30 Nov 2011 at 2:37 AM. Reason: indented the code again. ty dear editor

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi