Hi @luishp,
I did some testing and finally found that if in the subroutine for formatting the column we declare the use of other parameters as below:
- 1nd parameter: "fieldName": the name of the field (STRING type parameter for the column)
- 2nd parameter: "jsonObject": a VARREF type parameter
- 3rd parameter: "idxObject": an INTEGER type parameter.
Names can be any.
By default the first parameter will be the column name, the second will automatically contain the current jSon object and the third will automatically contain the index of the current json object.
So with this information I think we can do whatever we want to format the column also based on the values of the other columns
I hope I was clear and that it will be useful to others as well.
Greetings
Rocco
Hi @luishp,
I did some testing and finally found that if in the subroutine for formatting the column we declare the use of other parameters as below:
- 1nd parameter: "fieldName": the name of the field (STRING type parameter for the column)
- 2nd parameter: "jsonObject": a VARREF type parameter
- 3rd parameter: "idxObject": an INTEGER type parameter.
Names can be any.
By default the first parameter will be the column name, the second will automatically contain the current jSon object and the third will automatically contain the index of the current json object.
So with this information I think we can do whatever we want to format the column also based on the values of the other columns
I hope I was clear and that it will be useful to others as well.
Greetings
Rocco
luishp has reacted to this post.