var rows = $('#dg').datagrid('getRows');var arr = $.map(rows, function(row){return row. temperature});console.log(arr);