Skip to main content
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