Getting Data into editable grid

Hi,

I have written the following code where sampleData is a DataStore entity, but I am not getting any data in the front end:

rows: a!forEach( items: ri!sampleData,
expression: a!gridRowLayout(
contents: {
a!textField(
value: ri!sampleData.Account,
saveInto: fv!item.Account,
readOnly: true
),
a!textField(
value: fv!item.jan,
saveInto: fv!item.jan
),
a!textField(
value: fv!item.feb,
saveInto: fv!item.feb
),
a!textField(
value: fv!item.mar,
saveInto: fv!item.mar
)
}
)
),

But when I open the front end I see the following table:

What should I do so that the front end shows the data?

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi pedro,

    Sorry for the trouble.

    I read the documentation about appian adding, removing data from the editable grid. It seems like my initial code was quite similar to that, still, I am unable to fetch the data from the backend.

    Do I need to create a process model so that the rule Input Sample data can get data from the backend? Or just creating a rule input that contains a Data Store as its type is okay.

Children