Need to show list in a table format, Kindly see the app an screenshots for better picture

0
Q: I'd like to know how to display a list returned from a microflow as a table on the user interface in Mendix. App URL https://drive.google.com/file/d/1hneGfMsaKQP3hpMdRy1eu6W8DtaxAlnV/view?usp=sharing See Now Done !!! and Thank You All for Support 
asked
5 answers
1

To display a list returned from a microflow as a table in Mendix, you use a Data Grid (or Data Grid 2) with a microflow data source. First, create a microflow that returns a list of objects from an entity. Then add a Data Grid or Data Grid 2 to the page and set its data source to Microflow, selecting your microflow. If the microflow requires input parameters, pass them via the page context or constants. Finally, configure the grid columns to display the required attributes, with optional features like sorting or paging.

answered
1

Hi Rahul,

 

Have a look at the Data Grid 2 widget. It's designed for displaying content in a tabular form. Just have your microflow open a Page with this widget in place.

 

More details can be found in the documentation: https://docs.mendix.com/appstore/modules/data-grid-2/

 

I hope this helps.

answered
1

To fix this, select the Data Grid 2, switch the page to Structure Mode, and look for the Columns section under the grid. From there, use Add column to select the attributes you want to display (including association paths if needed). Since you are using the same page context, you can also select attributes such as Status directly from the context object rather than using a separate variable if you chose Variable (not Expression) in your last screen shot.

answered
1

No, ACT_ShowWorkCenterStatusHistc expects a MyFirstModule.Status object as its input parameter. Therefore, the page must provide that context. Either the page itself should have MyFirstModule.Status as a page parameter, or the Data Grid 2 must be placed inside a Data View whose data source is MyFirstModule.Status. Otherwise, the microflow cannot receive the required object.

answered
1

Great, please upload the screenshots in a smaller resolution. You can resize or adjust their dimensions before uploading, as they currently appear very large. :)

answered