Hi Guys,
I'm getting this error on SAIL code. I'm trying to use a gridfield (to load data, and delete a row) and I've a formlayout and inside that form, a sectionlayout (says grid is empty for a condition that rule!APN_isNull(ri!selection)) and another sectionLayout which has the gridfield. But I keep getting this error
"The contents field on a column layout may only contain components. Received Rule or Function Reference at index 1."
Is there a nullcheck I need to add to my Gridfield attribute or is there something I need to specifically need to look out for.
Thanks!
Discussion posts and replies are publicly visible
It seems one or more of the function(s) you have referenced in your grid are returning null, Try with the null check, for example use index function instead of querying data with dot operator.
You can check two things to resolve this error: