How can i bind the data returned by json object d to jquery grid ? I have tried using asp.net gridview but failed. I have seen some links of jquery grid but no source code is available in my aspx this is what i have done:
function get(strcode) {
$.ajax({
type: "POST",
url: "Default.aspx/MyMethod",
data: "{'Code':'" + strcode + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (result) {
// Here i want to bind the gridview to the values contained in d
//also the values in d are dynamic means i am getting them from the datatable
}
});
}
Thank you. also i have very confusion regarding jqgrid. is jqgrid is free and is jqgrid is client side or server side?
There are many jQuery plug-ins which you can use like
You can visit there site where you can get the example for Json data as well.