Hi Team,
I have the entire grid data which i transfer it to a variable named ‘data’ as shown below.
var data = \$("#jqxgrid").jqxGrid('exportdata', 'json');
console.log(data);
The output of console.log(data); is as follows:
[{"Order":"1.00","Id":"345.00","Comment":"Do this"},
{"Order":"2.00","Id":"475.00","Comment":"Dont do this"}]
Before transferring this ‘data’ through ajax, i want to ensure that i skip the “Comment:” part of each json object value pair.
My final json data which i am sending should look like this.
[{"Order":"1.00","Id":"345.00"},
{"Order":"2.00","Id":"475.00"}]
Can someone please tell me how do i achieve this. ?