com.extjs.gxt.ui.client.widget.grid
Class RowExpander

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.grid.ColumnConfig
          extended by com.extjs.gxt.ui.client.widget.grid.RowExpander
All Implemented Interfaces:
Observable, ComponentPlugin

public class RowExpander
extends ColumnConfig
implements ComponentPlugin

A column config and component plugin that adds the ability for each row to be expanded, showing custom content that spans all the rows columns.


Constructor Summary
RowExpander()
          Creates a new row expander.
RowExpander(XTemplate template)
          Creates a new row expander with the given template.
 
Method Summary
 void init(Component component)
          Initializes the plugin when the component is created.
 void setTemplate(XTemplate template)
          Sets the template.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.grid.ColumnConfig
getAlignment, getDataIndex, getDateTimeFormat, getEditor, getHeader, getId, getNumberFormat, getRenderer, getStyle, getToolTip, getWidget, getWidth, isFixed, isGroupable, isHidden, isMenuDisabled, isResizable, isSortable, setAlignment, setDataIndex, setDateTimeFormat, setEditor, setFixed, setGroupable, setHeader, setHidden, setId, setMenuDisabled, setNumberFormat, setRenderer, setResizable, setSortable, setStyle, setToolTip, setWidget, setWidth
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowExpander

public RowExpander()
Creates a new row expander.


RowExpander

public RowExpander(XTemplate template)
Creates a new row expander with the given template.

Parameters:
template - the template
Method Detail

init

public void init(Component component)
Description copied from interface: ComponentPlugin
Initializes the plugin when the component is created.

Specified by:
init in interface ComponentPlugin
Parameters:
component - the source component

setTemplate

public void setTemplate(XTemplate template)
Sets the template.

Parameters:
template - the template