1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    11
    Vote Rating
    0
    baksheen is on a distinguished road

      0  

    Default Grid row selection

    Grid row selection


    Hi,

    In my grid I have implemented the checkbox. Based on the checkbox selected I want to get the row number. My functionality is to remove the row based on the checkbox selection.
    I have add button and remove button. so based on the checkboxes selected, I need to remove those rows. I could not find out any example for the removing the rows based on the checkbox selection.

    thanks
    Bhanu

  2. #2
    Ext User Binu VM's Avatar
    Join Date
    Jul 2009
    Location
    bangalore
    Posts
    3
    Vote Rating
    0
    Binu VM is on a distinguished road

      0  

    Default


    You can try this. But it will remove only one object which means one row.

    Object obj= grid.getSelectionModel().getSelectedItem();

    List list = grid.getSelectionModel().getSelectedItems();




    thanks
    Binu.V.M

  3. #3
    Ext User
    Join Date
    Apr 2009
    Posts
    11
    Vote Rating
    0
    baksheen is on a distinguished road

      0  

    Default


    thanks Binu.V.M it working fine.

Thread Participants: 1