cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RussellGove
Kudo Kingpin
Kudo Kingpin

Add edit icon to Datatable

Hi, I have a datatable showing  data from a sharepoint list, How can i add  some icons to each row (like view or edit) and jump to a different screen to view or edit the selected row?

 

1 ACCEPTED SOLUTION

Accepted Solutions

You cannot. Probably better to use a gallery so you can get the effect you want. As a rule I never use Data Tables. 

 

If you are feeling adventurous you can use the OnSelect event of the data table to display those buttons outside the data table. It is clumsy but possible. 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

View solution in original post

8 REPLIES 8

You cannot. Probably better to use a gallery so you can get the effect you want. As a rule I never use Data Tables. 

 

If you are feeling adventurous you can use the OnSelect event of the data table to display those buttons outside the data table. It is clumsy but possible. 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
v-xida-msft
Community Support
Community Support

Hi @RussellGove,

 

Do you want to add a Icon control within the Data table control of your app?

 

Adding other controls within Data table control is not supported in PowerApps currently, I afraid that there is no way to achieve your needs in PowerApps.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

More details about capabilities that are supported or not supported within Data table control, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-data-table#capabilitie...

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Shane. Your videos on repeating datatable helped me out a lot on this!

Shane, your edx course and videos are super useful! Quick question, if you are not a fan of datatables, how do you display a list vertical with the ability to sort multiple columns. Lets say I have submitted multiple requests, I would like to sort by Status, request date etc., Any guidance will be super helpful. 
Thanks

Kalpana

Sure would be nice if there wer a functional data table control. it would ease development efforts and ensure consistency.

 

Is there a uservoice on this?


@ksivanandan wrote:

Shane, your edx course and videos are super useful! Quick question, if you are not a fan of datatables, how do you display a list vertical with the ability to sort multiple columns. Lets say I have submitted multiple requests, I would like to sort by Status, request date etc., Any guidance will be super helpful. 
Thanks

Kalpana


 

PowerApps totally sucks!!!

denglish
Advocate II
Advocate II

@RussellGove - You may find that you're wanting to maintain features unique to DataTables, such as the ability for users resize columns, or any other reason you might have.

Since PowerApps supports emoji in text fields, add additional columns to the DataTable that contain only a specified emoji (e.g. ✏️🔎, etc.) as the Text attribute and control functionality through the OnSelect attribute. In the below example, I have added the Pencil emoji to a column that also contains the ID.

 

image.png

denglish_0-1598631724509.png

SahilMSpower
Frequent Visitor

SahilMSpower_0-1638861393238.png

It actually worked, thanks @denglish 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,197)