Hy alll,
I have created a Table like structure using gallery control and displaying SharePoint List Data.
Now my query is I want to add the SharePoint list column name as the Gallery control header. I want header value should be dynamic. So that when we will change the Column name in our SharePoint list. Then it should reflect on the PowerApps Gallery control header. Is there any solution for that.
Best Regards,
Padmini
Solved! Go to Solution.
Hi @Anonymous ,
Based on the needs that you mentioned, I afraid that the Gallery control could not achieve your needs directly. As an alternative solution, I think the Data Table control could achieve your needs.
If you want to add a Button control within the Data Table control, I afraid that there is no way to achieve your needs in PowerApps currently. As an alter native solution, you could add another column within your Data Table to act as a Button click option.
I have made a test on my side, please take a try with the following workaround:
Add a Data Table control within your app, set the Items property to following:
AddColumns('YourSPList', "Action Operation", "Button Click")
then enable the "Action Operation" column in your Data Table control.
Select the "Action Operation" column in your Data Table control, then set the IsHyperlink property to true, then set the OnSelect property to following formula:
"Type your Button Clickable formula here"
Please take a try with above solution, then check if the issue is solved.
Best regards,
Hi,
If you want datasource columns as well, then easiest way is to have a data table instead of gallery control.
Hope this helps,
Pranav
Ya I can use data table but problem is i need to add the control like button inside the Data Table which is very tuff.
Thank you for reply.
I will follow your suggession.
Thank you soo much for reply
Hi @Anonymous ,
Based on the needs that you mentioned, I afraid that the Gallery control could not achieve your needs directly. As an alternative solution, I think the Data Table control could achieve your needs.
If you want to add a Button control within the Data Table control, I afraid that there is no way to achieve your needs in PowerApps currently. As an alter native solution, you could add another column within your Data Table to act as a Button click option.
I have made a test on my side, please take a try with the following workaround:
Add a Data Table control within your app, set the Items property to following:
AddColumns('YourSPList', "Action Operation", "Button Click")
then enable the "Action Operation" column in your Data Table control.
Select the "Action Operation" column in your Data Table control, then set the IsHyperlink property to true, then set the OnSelect property to following formula:
"Type your Button Clickable formula here"
Please take a try with above solution, then check if the issue is solved.
Best regards,
Thnq you I will follow your Approach.
User | Count |
---|---|
160 | |
84 | |
68 | |
63 | |
61 |
User | Count |
---|---|
211 | |
146 | |
95 | |
82 | |
67 |