Checkbox and Datatable Header button

Hi,

Does anybody know how I can serialise or something similar my checked checkbox items and when the datatable header button (view) is clicked a new browser window is opened passing the checked items? Eg:

http://newbrowserwindow?array_of_checked_films

Here’s my code so far:

   webix.ui({
			                       view:"datatable",  id:"films", select:true, columns:[

										{ id:"ch1", header:"<input type='button' value='view' class='view' >", template:"{common.checkbox()}",width:80},
										{ id:"title",header:[{ text:"title", height:25 }],adjust:"auto" }
										],
										
										data:small_film_set
										
										,onClick:{
													view:function(id, ch1){

														//alert('ive got here');
														
														//Open URL in new window and pass checked items
														
														 
													}

										}
										});

Many Thanks for any help.
Slash

You can use something like next

var checked = [];
this.each(function(obj){  if(obj.ch1)  checked.push(obj.id); });

window.open("some.html?checked="+checked.join(","));