i have a nested object ,
let's consider this object
var obj = {
data1:"x",
data2:"y",
data3 : {
data1-1:"xx",
data1-2: {
data1-2-1:"xxx"
}
}
}
in this example we have main columns , is data1 , data2 and data3
and data3 have two column, data1-1 and data 1-2 and so on
i need to get the dataIndx for data 1-2-1 , to print the results in the column