Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Data Viewer (CE) - Add Static Text to a Table or List


Static text or content can be added to a Table or List in the configuration options of Data Viewer.

The "defaultContent" object can be used to set static text in both a Table or List.  Simple text can be added to display common text in each table cell or list.  HTML content can be added to display elements such as checkboxes.  


The example below shows an example "data" object for configuration options in Data Viewer.

NOTE: The class of "control" is used to prevent triggering the row selection.  Without this class, clicking the checkbox will trigger the row selection.

data: [
05    {
06        title:"<input type='checkbox' class='editor-active'>",   
07        defaultContent:"<input type='checkbox'>",
08        class:"control",
09    },
10    {
11        defaultContent: 'static',
12        title:"static text",
13        class: 'all',
14    },