Welcome to SelGridView Demo

SelGridView Yii-extension remembers selected rows in grid.

1. Grid with selectableRows = 1 and no user's defined checkbox column:

You can play with following:

Displaying 1-4 of 11 result(s).
idfruitcount 
1Banana12
2Apple45
3Avocado72
4Guava58



2. Grid with selectableRows = 2 and checkbox:

You can select several rows on different pages and try sorting / pagination and submit

Displaying 1-4 of 11 result(s).
idfruitcount
1Banana12
2Apple45
3Avocado72
4Guava58

JS Methods

1. getAllSelection - get all selected keys:
   var selected = $("#grid2").selGridView("getAllSelection"); 
Selected:

2. clearAllSelection - clear all selected keys:
   $("#grid2").selGridView("clearAllSelection");


3. addSelection - select rows in JS code:
   $("#grid2").selGridView("addSelection", [2, 3]);