Within the Spark Table and Service Data Table controls there is a configuration option to manipulate how the columns in the table are rendered on the page. This article will discuss the differences between the different rendering types and when to use each. You can also view the Spark Showcase process app or the Table knowledge base article here to learn more about the Table control.
Different Rendering Types
Within the onClick() event, the modal section is made visible by clicking the button. This is an example of when a developer would want to render this column as a coach view.
Seamless Coach View
The seamless coach view render type removes the border of the controls nested within a table during rendering. Example controls where this could be applied would be typical form input controls, such as: the Integer control, Date Picker, and Decimal. Other than the difference in appearance this rendering type is treated the same as a coach view.
The image below shows the difference between rendering as a seamless coach view and rendering as a coach view.
The custom render type is the option a developer would use to specify what a field would look like. When editing the information in the Columns Configuration tab, there is an input box labeled "Options." Within here a developer has optional formatting to apply to already created objects. Using "Options" only works when rendering as simple HTML or as a Custom column.
The image below applies the following column options: 'decimalPlaces': 2, 'decimalSeparator': '.', 'thousandsSeparator': ',', 'prefix':'$'
- Author: Elliot Pytosky
- Date Created: November 9, 2015
- Date Modified: November 9, 2015