1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    7
    Vote Rating
    0
    capturetheflag is on a distinguished road

      0  

    Default How can I remove the border of an EditorGridPanel in extJs?

    How can I remove the border of an EditorGridPanel in extJs?


    Hi,

    I am new to extJs. I want to make the border of an EditorGridPanel invisible so that it becomes just a blank white space (My purpose is to show it inside a fieldset).

    How can I achieve this? Here is the code for my EditorGridPanel.

    CODE BEGINS
    var iLineItemGrid = new Ext.grid.EditorGridPanel({
    id: 'iLineItemStore',
    store: iLineItemStore,
    cm: iLineItemCM,
    cls: 'iLineItemGrid',
    width: 'auto',
    height: 'auto',
    style:'border: none;',//tried this to hide border
    hideBorders: true,// this did not work
    //title:'Edit Plants?',
    frame:false,
    //plugins:checkColumn,
    clicksToEdit:1,
    viewConfig: {
    //forceFit: true
    autoFit:true
    },
    tbar: [{
    text: 'Add',
    tooltip:'Add the line item',
    handler : function(){
    var r = new iLineItemRec({
    i_line_item_name: '',
    i_line_item_amt: ''
    });
    iLineItemGrid.stopEditing();
    iLineItemStore.insert(0, r);
    iLineItemGrid.startEditing(0, 0);
    }
    },
    {
    text: 'Delete',
    tooltip:'Remove the selected line item',
    handler: function(){
    iLineItemGrid.stopEditing();
    var r = iLineItemGrid.getSelectionModel().getSelectedCell();
    iLineItemStore.removeAt(r[1]);
    }

    }

    ]
    });

    CODE ENDS

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi
    Try to use border:'false' config to your EditorGridPanel
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

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..."