var counter=1; // to be able to click more then one time
$("#add_column").click(function() {
$("#list").jqGrid('GridUnload');
col_names.push('New'+counter);
col_model.push({name: 'test'+counter, index: 'test'+counter, width: 100});
counter++;
createGrid();
});