Hi all,
I have a gallery and want to clear a column after the user has submitted the data. I cannot get the gallery's column to be cleared as Reset, Refresh, UpdateContext.. are all not doing anything.
The gallery constitutes 6 columns (5 labels; 1 textInput), three of the columns (labels) are retrieved from a sharepoint, the other 2 are calculated based on the retrieved values and the provided values in the textInput column. I want to clear the textInput column after submitting.
Thanks in advance!
Solved! Go to Solution.
Hi rix0,
If I understand correctly, you want to reset the textinput bs? So that it is blank again on all rows of your gallery?
In that case you could create a button, with the OnSelect property set to:
Set(VarResetBS, "")
Next, you set the Default property of textinput bs to:
VarResetBS
When you click the button, the textinputs in the gallery will all be cleared.
If this post helps, please click on the Thumbs Up below. and Accept it as the solution, so this could be helpful to others with the same problem.
Kind regards, Jan-Pieter
Hi rix0,
If I understand correctly, you want to reset the textinput bs? So that it is blank again on all rows of your gallery?
In that case you could create a button, with the OnSelect property set to:
Set(VarResetBS, "")
Next, you set the Default property of textinput bs to:
VarResetBS
When you click the button, the textinputs in the gallery will all be cleared.
If this post helps, please click on the Thumbs Up below. and Accept it as the solution, so this could be helpful to others with the same problem.
Kind regards, Jan-Pieter