Download file option in data grid

0
Is it possible to introduce download file option in data grid? I have a data grid that displays name of the file that was uploaded in different page. So along with file name if i wish to add its download link in the grid is it possible or we can add it only next to where it was uploaded?
asked
3 answers
1

In datagrid 2 you can add custom content to a cell, like a microflow button.
In the microflow you can then perform a download action.
https://docs.mendix.com/appstore/modules/data-grid-2#4-3-custom-content

answered
1

If the solutions proposed above does not work, you can go for one of the below based on your requirement.

You can add buttons to datagrid. Which means, you can add a button called Download, make it as a default button.

The microflow behind the button, can be made to download the file. 

On the other hand, if you want to have download button next to each and every record, you can go for template grid instead of datagrid and within template grid you can have layout grid with same microflow logic.

answered
0

If Datagrid 2 or Listview is not an option you can implement a tooltip page with a download button. 

https://docs.mendix.com/refguide/data-grid#tooltip-page

I’ve used this technique in multiple occasions to add simple functions to datagrids.

 

 

answered