==Styling XML data for web and print (PDF)==
[[File:xml-readonly-styled.png|500px|border|The XML worksheet styled at 700 pixels wide in a read onlyDisplay Text and Variables custom field]] To ensure data entered into an '''Advanced Data Table''' fits on screen and will converted to a PDF without having data cut off, administrators need to upload two external CSS style sheet to a SmartFolder, reference it on the '''Advanced Data Table''' and the '''Display Text and Variables''' fields as well as add some code to both of these fields. Note: # Make Sure your Advanced Data Table has 8 or less columns to ensure it will print and fit on screen# If your worksheet does not look as expected make sure '''Apply Default Styles''' is toggled on in the Section builder and then click '''Build''' on each of your sections in the section builder. ===Styling the Advanced Data table for viewing onscreen===
By default in the '''Section Builder''' you will see '''Apply Default Styles''' is enabled in each section of your Advanced Data Table custom field, this will automatically apply styles to your cells. Although it is possible to manually add CSS classes to your cells it is not recommended. If your worksheet does not look as expected make sure '''Apply Default Styles''' is toggled on in the Section builder and then click '''Build''' on each of your sections in the section builder.
To ensure data entered into an Advanced Data Table fits on screen and will print without being cut off when converted to a PDF, administrators need to upload an external CSS style sheet to a SmartFolder, reference it on the Advanced Data Table and the Display Text and Variables fields as well as add some code to both of these fields.
Note:
# Make Sure your Advanced Data Table has 8 or less columns to ensure it will print and fit on screen
===Styling XML Data for Printing===