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

UnorderedList Renderer

Description

The Unordered List Renderer creates an HTML unordered list to display the search results. 

save image

Example: Unordered list without formatting applied. (formatting my be applied using CSS)

Requirements

  • No additional requirements

Configuration

Configuration and options are provided to the renderer schema via a nested JSON.  The Renderer JSON is a subschema to the Configuration JSON for KDSearch.  Name:Value pairs provide KDSearch the desired behaviors.

type: (function)
KDSearch.Renderers.DataTables
options: (nested JSON schema)
Values supplied here are specific to the Renderer and define the behavior of the Renderer.
  processSingleResult: (boolean) 
"true" or "false" value to indicate the behavior if one result it returned from the search.  "true" indicates the "clickCallback" function will be executed.

Example:

type: KDSearch.Renderers.UnorderedList,
options: {
    processSingleResult: true,
}

Styling