Widgets

Data Table

Estimated reading: 5 minutes 950 views

This widget allows you to make neat and organized data tables for your WordPress website. It makes creating tables easier and gives you lots of ways to make them look the way you want. You can change the appearance of each row and column and even add a search function to the table. If you need it, you can also make the table sortable so it’s more convenient for your website visitors.

Content

Header

Here, you can create a table header section. Every time you add a new row, that section is by default marked as ‘Row Start.’ To add the header content, click on the Add Item button.

  • Row/Column: Select Column to add the content inside the cell. Each item in the cell has three control tabs
  • Content:
    • Text: Enter the text for the header row.
    • Column Span: Enter the number of columns you want to merge.
    • Row Span: Enter the number of rows you want to merge.
    • Column Width: Specify the column width.
    • Alignment: Set the text’s alignment in the cell, left, center, or right.
  • Icon: Here, you can add custom icons inside the header.
  • Style: Here, you can give custom styling to each item separately.
Data Table: Header Settings
Data Table: Header Settings

Body

Here, you can add content to your table. Every time you add a new row named “Row Start, ” you will get a default Row section.” You can add a new Row by clicking on the Add Item button.

Each row consists of cells. To add cells to individual rows, click on the add item button. Each item has three tabs.

  • Content
    • Type: Choose whether to add content manually or import a Template.
    • Text: Enter the text in the cell.
    • Link: Add a URL to the text to navigate to the other page.
    • Column Span: Enter the number of columns you want to merge.
    • Row Span: Enter the number of rows you want to merge.
    • Alignment: Set the text’s alignment in the cell, left, center, or right.
  • Icon Here, you can add custom icons inside the cell.
  • Style Here, you can give custom styling to each item separately.
Data Table: Body Settings
Data Table: Body Settings

Table Settings

  • Width: Adjust the Width of the table.
  • Alignment: Align the table to the Left, Right, or Center.
  • Search: Enable it to add a Search box to the table.
    • Palceholder: Enter the placeholder text for the Search text box.

Sorting

  • Sortable Table: Enable it to make table data Sortable.
    • Icon Type: Add a Sort icon.
Data Table: Table Settings
Data Table: Table Settings

Style

Table

  • Background Type: Select solid Color or gradient as a background type.
  • Border Type: Select the border type, from none, solid, double, dotted, dashed, or grooved
Data Table: Table Style Settings
Data Table: Table Style Settings

Header

  • Typography: Change the typography options for the header text
  • Color: Choose a color for the text in the header row.
  • Background Color: Choose a background color for the header.
  • Icon Color: Set the icon color
  • Border Type: Set the border style around the headers.
  • Border Width: Set the border width
  • Border Color: Choose the header border color.
  • Padding: Adjust the Padding.
  • Alignment: Select the alignment.
Data Table: Header Style Settings
Data Table: Header Style Settings

Rows

  • Typography: Set the typography option for the row content
  • Striped Rows: Enable to apply Even Odd background Style to the table rows.
  • Border Type: Select the border type, from none, solid, double, dotted, dashed, or grooved
  • Width: Set the border thickness
  • Color: Choose the border color.
  • Padding: Set the Padding for the Rows.
Data Table: Rows Style Settings
Data Table: Rows Style Settings

Column

  • Typography: Set the typography option for the text in Columns
  • Color: Set the Color for the Column text.
  • Hover Color: Set the Color for the Column text on Hover
  • Background Color: Set the background color for the even and odd Columns.
  • Hover Background Color: Set the background color for the even and odd Columns on the hover state.
  • Icon Color: Set the icon color to a normal state
  • Hover Icon Color: Set the icon color on the hover state.
Data Table: Column Style Settings
Data Table: Column Style Settings

Search

  • Width: Set the Width of the search box
  • Alignment: Set the Alignment of the box
  • Bottom Spacing: Adjust the spacing between the search box and the table.
  • Border Type: Select the border type, from none, solid, double, dotted, dashed, or grooved
  • Border Radius: Set border radius.
Data Table: Search Settings
Data Table: Search Settings

Input

  • Typography: Set the typography option for the search text
  • Color: Set the Color for the text
  • Background Color: Choose the background color for the search box.
  • Padding: Set the padding.
Data Table: Search Input Settings
Data Table: Search Input Settings

Icon

  • Position: Set the position of the Search icon as Before or After the placeholder text.
  • Size: Set the icon size.
  • Color: Choose a color for the icon
  • Background Color: Select the background color.
  • Padding: Set the padding.
Data Table: Search Icon Settings
Data Table: Search Icon Settings

Sort

Data Table: Sort Style Settings
Data Table: Sort Style Settings
  • Color: Choose the Sort icon color
  • Hover: Choose the sort icon color on the hover.
  • Size: Set the Size of the icon

Check out the Demo page of Data Table.

Share this Doc

Data Table

Or copy link

CONTENTS