as title the refreshalways:true for a a!gridLayout can't be realized as a!gridField, how to let data in a!gridLayout be refreshed?
Discussion posts and replies are publicly visible
You can't save any values into variables that use refreshAlways: true. The reason for this is that this behavior means that your variable is refreshed with every interaction. So even if we allowed saving into the variable, it would immediately be refreshed after saving and you would lose your changes.
Can you describe more about your use case (preferably with sample code and screenshots)? What is your goal? What have you tried?
I am creating a editable grid shows up list of files in a folder, there is a delete button on right sides of each of fv!item file, once delete the file, it could immediately disappear for that file name from the list, and also i am going to create an upload function button once finish upload it could be immediately shows up on the list which in the editable grid.
Btw, to be honestly ask, is appian going to last long?
In that case you don't need to use refreshAlways: true. Instead, just set up your grid so that when you click the remove button, it deletes the row in your list. This recipe shows how to add / remove data in a grid, and it doesn't require using refresh variables at all.
if you can give me a example of “remove" i would be super appreciate. I know what you mean, there was a append in the tutorial video of write interface with expression.
The example I linked above has an example with remove - if you take a look at lines 102-116, the code uses a dynamic link to remove a row from the list. Let me know if you have specific questions about how it works or if you run into a bug when implementing it.
ok, i think i may handle all by myself, really thanks for your help, have a nice day.