get checked rows id value with dhtmlxGrid


I would like get all checked row id value in dhtmlxGrid, and i don’t find how do it?

var list = grid.getCheckedRows(column);

where column - index of ch column

list - comma separated list of IDs

Thank you for your anwser.
I forget also ask you how to checkall checkbox in datagrid column ?