Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/widget/SortList.js

  • Provides:

    • dojox.widget.SortList
  • Requires:

    • dijit.layout._LayoutWidget in common
    • dijit._Templated in common
  • dojox.widget.SortList

    • type
      Function
    • chains:
      • dijit.layout._LayoutWidget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit.layout._LayoutWidget: (call)
      • dijit._Templated: (call)
    • summary
      A sortable unordered-list with a fixed header for use in dijit.demos.chat
      for demonstration purposes only for now. feel free to make API suggestions
      or fixes.
  • dojox.widget.SortList.title

    • type
      String
    • summary
      The title in the header
  • dojox.widget.SortList.heading

    • type
      String
    • summary
      In the event a parent container is expecting a title="" attribute, set it for the parent
      via title, and the title of this widget via heading="" ... assuming you want different
      titles for each. eg: TabContainer, AccordionContainer, etc.
  • dojox.widget.SortList.descending

    • type
      Boolean
    • summary
      Toggle sort order based on this value.
  • dojox.widget.SortList.selected

    • type
      Array
    • summary
      A list of the selected <li> nodes at any given time.
  • dojox.widget.SortList.sortable

    • type
      Boolean
    • summary
      toggle to enable/disable sorting
  • dojox.widget.SortList.store

    • type
      Object
  • dojox.widget.SortList.key

    • type
      String
  • dojox.widget.SortList.baseClass

    • type
      String
  • dojox.widget.SortList.templateString

    • type
      Object
  • dojox.widget.SortList._addItem

    • parameters:
      • item
    • type
      Function
  • dojox.widget.SortList.postCreate

    • type
      Function
  • dojox.widget.SortList.startup

    • type
      Function
  • dojox.widget.SortList.resize

    • summary
      do our additional calculations when resize() is called by or in a parent
    • type
      Function
  • dojox.widget.SortList.bodyWrapper.style.height

    • type
      String
  • dojox.widget.SortList.onSort

    • parameters:
      • e: (typeof Event)
    • summary
      sort the data, and style the nodes.
    • type
      Function
  • dojox.widget.SortList._set

    • parameters:
      • e: (typeof Event)
    • summary
      set hover state
    • type
      Function
  • dojox.widget.SortList._unset

    • parameters:
      • e: (typeof Event)
    • summary
      remove hover state (FIXME: combine with _set?)
    • type
      Function
  • dojox.widget.SortList._handleClick

    • parameters:
      • e: (typeof Event)
    • summary
      click listener for data portion of widget. toggle selected state
      of node, and update this.selected array accordingly
    • type
      Function
  • dojox.widget.SortList._updateValues

    • type
      Function
  • dojox.widget.SortList._selected

    • type
      Object
  • dojox.widget.SortList._sorter

    • parameters:
      • a
      • b
    • summary
      a basic sort function, use query sort, or keep this?
    • type
      Function
  • dojox.widget.SortList.setTitle

    • parameters:
      • title: (typeof String)
    • summary
      Sets the widget title to a String
    • type
      Function
  • dojox.widget.SortList.focusNode.innerHTML

  • dojox.widget.SortList.onChanged

    • summary
      stub function, passes the last changed item, and is fired after current state
    • type
      Function
  • dojox.widget

    • type
      Object
  • dojox

    • type
      Object