Advanced Grid cannot configure columns.
Hi,
I cannot configure the Grid Columns. I have a service that receives an infotable and a data shape as inputs, and creates an empty infotable with the specific data shape. Then, the infotable given as input is cloned into the empty infotable that I just created, and is given as service output.
I'm binding this service output to the grid, but I cannot configure the Grid Columns. They show empty, just like in the photo. I understand that is the behaviour for when you're passing infotables without data shapes. But the service that I created, even though it doesn't have the Data Shape specifically defined in the Output section, it is still defined inside the code (see the code snippet for the BufferInfotable function attached below)
Am I doing something wrong? Thank you.
Code snippet below. "datash" is the data shape given as input, and "info" is the infotable with the data, given as input.
var params = {
infoTableName: "InfoTable" /* STRING */,
dataShapeName: datash /* DATASHAPENAME */
};
// result: INFOTABLE
var emptyInfo = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
var params2 = {
t1: emptyInfo /* INFOTABLE */,
t2: info /* INFOTABLE */
};
// result: INFOTABLE
var result = Resources["InfoTableFunctions"].Union(params2);

