Selecting without loosing previouse selection

I write my custom method wich selects few rows in dhtmlx grid, but selectRow method wich i use clears previouse selections while making new one? Can i select many rows programatically using some API function or not clear previouse selection?

You can select multiple rows by using

grid.selectRow(index,false,true);



or


grid.selectRowById(id,true);

the additional param controls - if new selected row must replace exisitng selection, or must be added to already selected rows

the next commands block , will select 3 records in grid
grid.selectRow(0,false);
grid.selectRow(1,false,true);
grid.selectRow(2,false,true);