Mobile-Friendly Data Table with Cell Selection, Menu Focus Group and Filters

Overview

This module allows a user to view a list of things in a mobile-friendly data table format and apply additional filters to the list. This module is useful when you need to display around 10 fields per row on desktop, and around 6-7 fields per row on mobile. A user can click on the ︙icon to edit or delete an item via a menu focus group. For more information on how to use menufocusgroup_template, please click here.

Desktop Example

Mobile Example

There are placeholder conditionals on the text elements and circular shapes that indicate the "Status" of each Invoice in this example. These style changes can be repurposed if needed, or removed completely.

Structure

  • When this module is added to a page, it is placed within a group called Group page860Group on the page. This group contains the responsive settings for all modules.

  • This module contains these main groups:

    • Group Inner header buttons and filters - This group contains the title, add button, and reusable element applyfilters.

    • Group Main data table - This group contains the table column data (each column has its own hiding rule)

    • Group Inner desktop table header - This group contains the table column headers that are shown on desktop. This group is shown when the page width is greater than 750 pixels.

    • Group Inner mobile table header - This group contains the table column headers that are shown on mobile. This group is shown when the page width is less than 750 pixels.

    • RepeatingGroup Dummy- contains the list of things that will be displayed in the data table. This repeating group's data source should be changed from "Dummy" to the type of content that you will display.

    • Group Inner desktop content container - This group is within the repeating group cells, and it contains the row value elements that are shown on desktop. This group is shown when the page width is greater than 750 pixels. There is a collapsible placeholder group within this group.

    • Group Inner mobile content container - This group is within the repeating group cells, and it contains the row value elements that are shown on mobile. This group is shown when the page width is less than 750 pixels. There is a collapsible placeholder group within this group.

  • This module contains two copies of the menufocusgroup_template reusable element - menufocusgroup_template mobile and menufocusgroup_template mobile.

How can I adjust the filters and menu options?

  • Go to the page where you have added the module and update RepeatingGroup 800-1Column's data source

  • Update header text and the data source of the texts in the module.

  • Remove Button ADD NEW or add a workflow to the button

  • For more information on how to customize the filters, please click here.

  • For more information on how to customize the menufocusgroup_template reusable elements included on this page (menufocusgroup_template_desktop and menufocusgroup_mobile), please click here

How can I modify the table's rows and columns?

This data table module contains conditional logic to display a desktop design on desktop page widths, and a mobile design at mobile page width. There are no hiding rules that you need to adjust when adding columns for the mobile view; all of the content will be displayed as long as you do not change the widths of the Group Inner desktop table header and Group Inner desktop content container elements shown below:

You can further customize the data table by removing columns that you do not need. If you do edit the columns, please make sure that the header and data texts all align (start at the same x position), nothing is overlapping, and all the responsive settings for the header texts and data texts match exactly (hiding rule with, minimum width, maximum width, responsive alignment, and width). For example, if a "Status" column heading has a left-fixed margin, a 20% minimum width, and no max width, it is important for the corresponding row element "Completed" to have the exact same settings and x position).

Similarly, there are no hiding rules that you need to adjust when adding fields for the moible view; all of the content will be displayed as long as you do not change the widths of the Group Inner mobile table header and Group Inner mobile content container elements:

It is best to keep 1-2 columns of text for mobile, and add elements that are stacked vertically, as shown in the original design.

Last updated