In my code,I have hierarchical grid which is having only 1 column (Name) in main or parent grid which is "Bonet Robert" and under that grid,I do have one more grid with only one column(status) which is "A" and under "A" , I have one more grid which is having all other columns like "Address,Billing name,region" etc.
Now when I export this to excel ,I get column 1 ,column 2 and so on for the main grid which is having only 1 column "Name" .
you can match these values with the excel.
var northwind = {
"results": [
{
"Name": "Bonet Robert",
ProjectStatus: [
{
"ProjectStatus": "A",
Orders: [
{
“CSA”: “18ps3021-19”, “CustomerBillingName”: “Ernsh”, “ServiceAddress”: “RW Electric”,
“Region”: “DPSO”, “ProjName”: “ALLCONNECT”,
“ProjectTotal”: “1000”
}
]
} ] }]}