1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    29
    Vote Rating
    0
    avilanchee is on a distinguished road

      0  

    Default check box event in data grid

    check box event in data grid


    Guys,

    I have a datagrid with checkBox column . I need to save the state of the checkbox to the grid store . say i uncheck it, the value should be false and it should be committed to the grid . I tried using checkChange event , no success . Any help would be highly appreciated!

  2. #2
    Ext User
    Join Date
    Jun 2008
    Posts
    29
    Vote Rating
    0
    avilanchee is on a distinguished road

      0  

    Default grid here

    grid here


    private Grid<SectionGridModel> getSubSectionsGrid() {
    if (subSectionGrid == null) {
    List<ColumnConfig> configs = new ArrayList<ColumnConfig>();

    ColumnConfig column = new ColumnConfig();
    column.setId("name");
    column.setHeader("Name");
    column.setWidth(75);
    configs.add(column);

    column = new ColumnConfig();
    column.setId("englishname");
    column.setHeader("English Name");
    column.setWidth(75);
    configs.add(column);

    column = new ColumnConfig();
    column.setId("url");
    column.setHeader("Url");
    column.setWidth(75);
    configs.add(column);

    column = new ColumnConfig();
    column.setId("type");
    column.setHeader("type");
    column.setWidth(75);
    configs.add(column);

    CheckColumnConfig checkColumn = new CheckColumnConfig("yesorno", "In Use?", 55);
    configs.add(checkColumn);

    column = new ColumnConfig();
    column.setId("inuse");
    column.setHeader("In Use");
    column.setWidth(75);
    configs.add(column);

    column = new ColumnConfig();
    column.setId("image");
    column.setHeader("Image");
    column.setWidth(75);
    configs.add(column);

    store = new ListStore<SectionGridModel>();
    store.setMonitorChanges(true);

    ColumnModel cm = new ColumnModel(configs);
    subSectionGrid = new Grid<SectionGridModel>(store, cm);
    subSectionGrid.addPlugin(checkColumn);
    subSectionGrid.setBorders(true);
    subSectionGrid.setAutoExpandColumn("name");

    }
    return subSectionGrid;
    }

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