drilldownrow.js
No description.

File Location

/goog/ui/drilldownrow.js

Classes

goog.ui.DrilldownRow
Builds a DrilldownRow component, which can overlay a tree structure onto sections of an HTML table.

Public Protected Private

Global Functions

goog.ui.DrilldownRow.createRowNode_(htmldoc) Element
Create and return a TR element from HTML that looks like "
...
".
Arguments:
html : string
for one row.
doc : Document
object to hold the Element.
Returns: Element  table row node created from the HTML.
code »
goog.ui.DrilldownRow.decorate(selfObj)
This static function is a default decorator that adds HTML at the beginning of the first cell to display indentation and an expander image; sets up a click handler on the toggler; initializes a class for the row: either goog-drilldown-expanded or goog-drilldown-collapsed, depending on the initial state of the DrilldownRow; and sets up a click event handler on the toggler element. This creates a DIV with class=toggle. Your application can set up CSS style rules something like this: tr.goog-drilldown-expanded .toggle { background-image: url('minus.png'); } tr.goog-drilldown-collapsed .toggle { background-image: url('plus.png'); } These background images show whether the DrilldownRow is expanded.
Arguments:
selfObj : goog.ui.DrilldownRow
DrilldownRow to be decorated.
code »

Global Variables

function%89 :
No description.
Code »

Directory ui

File Reference