Customization in Mendix Datagrid Rows/Cells

0
Hi Team, Is it possible to control the look and feel of a specific row in the data grid? Using some out of the box option? And is it also possible to add controls like button, image uploader in gridview cells.   Thanks
asked
3 answers
1
  • Is it possible to control the look and feel of a specific row in the data grid? Using some out of the box option?
    • The Grid Cell Styler widget offers the ability to do this based on data in the row of a Data Grid
  • And is it also possible to add controls like button, image uploader in gridview cells.
    • Not on the Data Grid. Instead, use a List View. Create columns by using the layout grid, and add a similar layout grid above the List View to create headers. See an example below:

Model:

Output:

​​​​​​​

answered
0

If you always want to target the same row, you may be able to use the ‘nth-child' selector in CSS:

https://www.w3schools.com/cssref/sel_nth-child.asp

Otherwise I think you will need a custom widget

answered
0

 

You could use List view for more complex grids, and use List view controls widget to add more functions

https://appstore.home.mendix.com/link/app/105694/

 

answered