Create and return a TR element from HTML that looks like
"
|
code » | |||
![]()
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:
|
code » |
![]()
No description.
|
Code » |