How do I only get to edit one line when I click on the edit icon? Now I get to edit the whole table when I click on it.
I use Set(readOnlyFields,false); on the OnSetting property of the edit icon, Set(readOnlyFields,true); to the screen and If(readOnlyFields=false,Edit,View) on the single text input.
Solved! Go to Solution.
Hi@Janni29,
Based on the issue you mentioned, you want to edit one row when clicking on the edit icon.
If you want to edit one row, you should set a variable which makes you achieve this.
I have a test on my side, please take a try the following:
Select(Parent);Set(ItemId,ThisItem.ID)
If(ItemId=ThisItem.ID,DisplayMode.Edit,View)
Best Regards,
Qi Qiao
Is this same as the other post.
At the beginning of the OnSelect of the Icon put:
Collect(DisableIcon,Thisitem.ID)
Then in the Displaymode of the Icon put:
If(Thisitem.ID in DisableIcon, DisplayMode.Edit,Displaymode.Disabled)
You can replace ID with any unique field in your table or Datasource.
I wanted to test but am not on my machine. This video from Chris address that
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi@Janni29,
Based on the issue you mentioned, you want to edit one row when clicking on the edit icon.
If you want to edit one row, you should set a variable which makes you achieve this.
I have a test on my side, please take a try the following:
Select(Parent);Set(ItemId,ThisItem.ID)
If(ItemId=ThisItem.ID,DisplayMode.Edit,View)
Best Regards,
Qi Qiao
User | Count |
---|---|
183 | |
124 | |
88 | |
45 | |
42 |
User | Count |
---|---|
248 | |
159 | |
127 | |
78 | |
73 |