Hi folks,
Two issues with grids embedded in detail rows;
1) 'undefined' data in grids embedded in detail row - the primary grid, which holds the other two tables in the detail row, uses a json array called 'mystuff', for example. The two other grids/tables, in the detail row I'm attempting to use, uses child arrays from that same 'mystuff' array.. I seem to be connecting to it, but all data comes back as 'undefined'..
So, in my columns definition, I am calling to:
..and my schema is:
is this correct? It doesn't seem like I should have to call to the child array in the template declaration.. by doing this, I get no errors on the page, but all data is 'undefined'.. I've been trying to find an example of multiple grids using the same data source with child arrays, maybe you can point me to one? I can't find anything in the dom that points to anything conclusive (other than undefined)..
2) The grids I've embedded in the details row are getting their widths from the initial grid; I've tried sizing their containers, etc.. but nothing seems to 'contain' it, lol! Ideas?
Thank you!
Two issues with grids embedded in detail rows;
1) 'undefined' data in grids embedded in detail row - the primary grid, which holds the other two tables in the detail row, uses a json array called 'mystuff', for example. The two other grids/tables, in the detail row I'm attempting to use, uses child arrays from that same 'mystuff' array.. I seem to be connecting to it, but all data comes back as 'undefined'..
So, in my columns definition, I am calling to:
template: "#=childarrayName.niftyDataField#"..and my schema is:
1.schema: {2. data: "arrayName[0].childarrayName"3.},is this correct? It doesn't seem like I should have to call to the child array in the template declaration.. by doing this, I get no errors on the page, but all data is 'undefined'.. I've been trying to find an example of multiple grids using the same data source with child arrays, maybe you can point me to one? I can't find anything in the dom that points to anything conclusive (other than undefined)..
2) The grids I've embedded in the details row are getting their widths from the initial grid; I've tried sizing their containers, etc.. but nothing seems to 'contain' it, lol! Ideas?
Thank you!