Skip to main content
sivanagamalleswarit0001
Inspiring
Mar 17, 2023 5:31 PM UTC
Solved

Custom Picker Field inside a editableGrid/gridlayout

Any suggestions around it:

I have requirement where user want to edit a column in editable grid and that column should be pickerfield.

I have a table to store existing data and pulling from it on grid. For picker data, i have a reference table that pulls all the populating data as needed.

I am getting an error while i try to remove the existing column data and fetch new data.

I tried different ways to define this but somehow ended up facing different issue for each attempt.

ONE ATTEMP:

Below code is one way of my attempts!!

TWO ATTEMPT:

This is working fine if I do something like below but is not appropriate for business use case: 

local!existingdata: 

Record type uuid: 5bf7f7cb-2b7c-430f-93b1-102a13b4f3af from error is the Record that pulls existing data.

stefanhelzle0001
Brainy
Mar 18, 2023 6:50 PM UTC

So you have a list of record in that local? You cannot store a single value in a list of records. Using fvitem is the right way. Add a condition to the selectedLabels parameter to prevent that error.

6 replies

stefanhelzle0001
Brainy
Mar 18, 2023 8:14 AM UTC

Remove that dot and it should work.

sivanagamalleswarit0001
Inspiring
Mar 18, 2023 4:10 PM UTC

Thank you responding.

That was my first attempt and it dint work either.

stefanhelzle0001
Brainy
Mar 18, 2023 6:19 PM UTC

What data type is local!newData? Why do you save to a different variable?