The data table feature is a great option to use in lieu of a formatted table.
Data tables offer the user the ability to sort information, search within the table, and select the number of entries on a page.
Adding a data table requires a CSV file, which can be created in Excel:
- Ensure there are headers for each column
- Add the data
- Save the file as a .csv
Uploading and Adding the CSV File to Cascade
- Log-in to Cascade
- Navigate to the page that the data table will be on
- Click Edit
Scroll down the page to the Content area to which you will be adding the data table
- The data table will appear at the end of this Content section when it is on the live site
- Click the arrow next to the left of Datatable
- Click in the field Choose File
- In the flyout to the right, click Upload
- Select the placement folder for the CSV file (typically _docs or _images folder)
- Drag the file from your desktop or click choose in the box:
- Click the blue Choose button in the upper right corner
The file is now attached to the page:
The data table will not appear on the page in Cascade. It will only appear on the live site.
You must publish the CSV file for it to appear on the live site.
Adding Links to a Data table
If you need to add a link to your data table, insert this HTML where you need the link to be. Replace the text in bold with the relevant link and link text:
<a href="PLACE FULL URL HERE, INCLUDE HTTPS://www."> PLACE LINK TEXT TO DISPLAY HERE</a>
Here is an example:
Display:
Open from 7 A.M. to 9 P.M., Monday through Friday. Building partner office suites and meeting rooms remain locked.
Text in .csv file:
<a href="https://www.unomaha.edu/community-engagement-center/news/updates.php">Open from 7 A.M. to 9 P.M., Monday through Friday.</a> Building partner office suites and meeting rooms remain locked.