mGrid - CSS Grid Options

Content Type: Module
Categories: User Interface

Overview

mGrid is designed to give you all the options of Grid within the Appearance tab. No custom code required. Does also support list views, template grids and Gallery widget, which will target the list within the widget.

 

Download and add the UI Module, press F4 within Mendix Studio Pro and behold all the extra flex options within your appearance tab.

If you're updating from version 1.1.0 please note that the spacing variables have been changed to the default Mendix spacing variables. Please backup your old m-grid-variables.scss sheet if you want to keep using the old values.

 

For more information about grids, please visit https://css-tricks.com/snippets/css/complete-guide-grid/

 

Check out my other UI Modules:

 

Connect with me on LinkedIn! https://www.linkedin.com/in/mauritspdekoning/ 

Documentation

https://youtu.be/sfhzuE99d14
Demo urlhttps://mauritsdesignkit-sandbox.mxapps.io/p/grid

Description

mGrid is designed to give you all the options of Grid within the Appearance tab. No custom code required. Does also support list views, template grids and Gallery widget, which will target the list within the widget.

 

Typical usage scenario

For aligning all the elements on your page or within your widgets. Giving the developer the options to create cool designs without the need for custom code.

 

Features and limitations

  • For Web only
  • Works on Containers
  • Works on listViews
  • Works on templateGrids
  • Works on Gallery widget

 

Dependencies

  • Mendix 9.24.0. and up.
  • Requires _custom-variables.scss for certain variables. The default path has been set within the main.scss. Change this if your _custom-variables.scss is located somewhere else.
  • Requires the latest version of Datagrid2 (Data Widgets)

 

Installation

Just download and install this UI Module. Hit F4 within Mendix Studio Pro and behold all the extra grid options within your appearance tab.

 

If you're updating from version 1.1.0 please note that the spacing variables have been changed to the default Mendix spacing variables. Please backup your old m-grid-variables.scss sheet if you want to keep using the old values.

 

Configuration

No configuration needed. It’s just plug & play.

 

Known bugs

  • None

 

Legal notice

Copyright (c) 2024 Maurits de Koning.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 

Releases

Version: 1.2.1
Framework Version: 9.24.0
Release Notes: - Added support for the latest version of Datagrid2. You'll need to update Datagrid2 (Data Widgets) to the latest version.
Version: 1.2.0
Framework Version: 9.24.0
Release Notes: - Upgraded to LTS version. Changed spacing variables to the default Mendix spacing variables. The default custom-variables.scss is now required. Please backup your old m-grid-variables.scss sheet if you want to keep using the old values.
Version: 1.1.0
Framework Version: 9.18.0
Release Notes: - Upgraded Mendix minimum version to Mendix 9.18.0 to ensure compatibility with Mendix 10.