I have below code that get values from a grid. Instead of printing the values, the grid is printing data in below object format. How to print values?
[object Object], [object Object], [object Object], [object Object], [object Object]
CODE:
$(document).ready(function () {
$("#check").click(function(){
var rows = $('#jqxgrid').jqxGrid('getrows');
alert(rows);
});
});
alert(JSON.stringify(rows))- theJSONobject is supported in every modern browser