//converting the object to an array
const values = table4.data;
//Using the .map() method to loop the array, find maximum value
values.map((el) => {
//getting the value from each object and comparing to existing value
const valueFromObject = el.invnbr;
maxValue = Math.max(maxValue, valueFromObject);
});
I wanted to ask you one more question about the language you are using.
I take it that this is JASON.
I plan to study this language. Can I use this language in Retool? Currently I have been using to
tools written in JASON without really understanding the language.
Hi Mike
That is Javascript. You can use it in many places in Retool. Very handy to learn.
JSON is not a language - it's a way to format and store data.
cheers
Jebit.