Roo.util.Observable Roo.Component Roo.bootstrap.Component Roo.bootstrap.Table
Package: | Roo.bootstrap |
Defined In: | Roo/bootstrap/Table.js. |
Class: | Table |
Extends: | Roo.bootstrap.Component |
Options | Defined By | |
---|---|---|
actionMode : String
which property holds the element that used for hide() / show() / disable() / enable()
default is 'el'
which property holds the element that used for hide() / show() / disable() / enable()
default is 'el' |
Roo.Component | |
align : String
Specifies the alignment of a table according to surrounding text
Specifies the alignment of a table according to surrounding text
Possible Values: left, center, right |
Roo.bootstrap.Table | |
allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Whether the component can move the Dom node when rendering (defaults to true).
|
Roo.Component | |
bgcolor : String
Specifies the background color for a table
Specifies the background color for a table
|
Roo.bootstrap.Table | |
border : Number
Specifies whether the table cells should have borders or not
Specifies whether the table cells should have borders or not
|
Roo.bootstrap.Table | |
bordered : boolean
Add borders to the table
Add borders to the table
|
Roo.bootstrap.Table | |
can_build_overlaid : Boolean
True if element can be rebuild from a HTML page
True if element can be rebuild from a HTML page
|
Roo.bootstrap.Component | |
cellSelection : Boolean
default false
default false
Possible Values: true, false |
Roo.bootstrap.Table | |
cellpadding : Number
Specifies the space between the cell wall and the cell content
Specifies the space between the cell wall and the cell content
|
Roo.bootstrap.Table | |
cellspacing : Number
Specifies the space between cells
Specifies the space between cells
|
Roo.bootstrap.Table | |
cls : String
table class
table class
|
Roo.bootstrap.Table | |
condensed : boolean
Format condensed
Format condensed
|
Roo.bootstrap.Table | |
container_method : string
method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)
method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)
|
Roo.bootstrap.Component | |
dataId : string
cutomer id
cutomer id
|
Roo.bootstrap.Component | |
disableClass : String
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
|
Roo.Component | |
footer : Roo.bootstrap.PagingToolbar
a paging toolbar
a paging toolbar
|
Roo.bootstrap.Table | |
footerShow : Boolean
generate tfoot, default true
generate tfoot, default true
Possible Values: true, false |
Roo.bootstrap.Table | |
frame : String
Specifies which parts of the outside borders that should be visible
Specifies which parts of the outside borders that should be visible
|
Roo.bootstrap.Table | |
headerShow : Boolean
generate thead, default true
generate thead, default true
Possible Values: true, false |
Roo.bootstrap.Table | |
hideMode : String
How this component should hidden.
How this component should hidden. Supported values are
"visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". Possible Values: display, visibility |
Roo.Component | |
hover : boolean
Add hover highlighting
Add hover highlighting
|
Roo.bootstrap.Table | |
layout : String
table layout (auto | fixed | initial | inherit)
table layout (auto | fixed | initial | inherit)
|
Roo.bootstrap.Table | |
lazyLoad : Boolean
auto load data while scrolling to the end (default false)
auto load data while scrolling to the end (default false)
|
Roo.bootstrap.Table | |
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable | |
loadMask : Boolean
default false
default false
Possible Values: true, false |
Roo.bootstrap.Table | |
name : string
Specifies name attribute
Specifies name attribute
|
Roo.bootstrap.Component | |
responsive : boolean
Format condensed
Format condensed
|
Roo.bootstrap.Table | |
rowSelection : Boolean
default false
default false
Possible Values: true, false |
Roo.bootstrap.Table | |
rules : String
Specifies which parts of the inside borders that should be visible
Specifies which parts of the inside borders that should be visible
|
Roo.bootstrap.Table | |
scrollBody : Boolean
default false - body scrolled / fixed header
default false - body scrolled / fixed header
Possible Values: true, false |
Roo.bootstrap.Table | |
sortable : String
Specifies that the table should be sortable
Specifies that the table should be sortable
|
Roo.bootstrap.Table | |
striped : boolean
Should the rows be alternative striped
Should the rows be alternative striped
|
Roo.bootstrap.Table | |
style : String
any extra css
any extra css
|
Roo.bootstrap.Component | |
summary : String
Specifies a summary of the content of a table
Specifies a summary of the content of a table
|
Roo.bootstrap.Table | |
tooltip : string
Text for the tooltip
Text for the tooltip
|
Roo.bootstrap.Component | |
visibilityEl : string|object
What element to use for visibility (see getVisibilityEl())
What element to use for visibility (see getVisibilityEl())
Possible Values: el, parent |
Roo.bootstrap.Component | |
width : Number
Specifies the width of a table
Specifies the width of a table
|
Roo.bootstrap.Table | |
xattr : Object
extra attributes to add to 'element' (used by builder to store stuff.
extra attributes to add to 'element' (used by builder to store stuff.)
|
Roo.bootstrap.Component |
Method | Defined By | |
---|---|---|
new Roo.bootstrap.Table
(Object config)
Create a new Roo.bootstrap.Table
Create a new Roo.bootstrap.Table
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
autoSize
()
:
Element
Forces a resize - used by panel.Grid
Forces a resize - used by panel.Grid
|
Roo.bootstrap.Table | |
clear
()
Remove all rows
Remove all rows
|
Roo.bootstrap.Table | |
destroy
()
Destroys this component by purging any event listeners, removing the component's element from the DOM,
removing the component from its {link Roo.Container} (if applicable) and unregistering it from {link Roo.ComponentMgr}.
Destroys this component by purging any event listeners, removing the component's element from the DOM,
removing the component from its {link Roo.Container} (if applicable) and unregistering it from {link Roo.ComponentMgr}. |
Roo.Component | |
disable
()
:
Roo.Component
Disable this component.
Disable this component.
|
Roo.Component | |
enable
()
:
Roo.Component
Enable this component.
Enable this component.
|
Roo.Component | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
focus
(Boolean selectText)
:
Roo.Component
Try to focus this component.
Try to focus this component.
|
Roo.Component | |
getChildContainer
()
:
Roo.Element
Fetch the element to add children to
Fetch the element to add children to
|
Roo.bootstrap.Component | |
getEl
()
:
Roo.Element
Returns the underlying {link Roo.Element}.
Returns the underlying {link Roo.Element}.
|
Roo.Component | |
getGridEl
()
:
Element
Returns the grid's underlying element = used by panel.Grid
Returns the grid's underlying element = used by panel.Grid
|
Roo.bootstrap.Table | |
getId
()
:
String
Returns the id of this component.
Returns the id of this component.
|
Roo.Component | |
getVisibilityEl
()
Get the element that will be used to show or hide
Get the element that will be used to show or hide
|
Roo.bootstrap.Component | |
Roo.util.Observable | ||
hide
()
Hide a component - adds 'hidden' class
Hide a component - adds 'hidden' class
|
Roo.bootstrap.Component | |
initEvents
()
Initialize Events for the element
Initialize Events for the element
|
Roo.bootstrap.Component | |
isVisible
()
Returns true if this component is visible.
Returns true if this component is visible.
|
Roo.Component | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
render
(String/HTMLElement/Element container)
If this is a lazy rendering component, render it to its container element.
If this is a lazy rendering component, render it to its container element.
|
Roo.Component | |
setDisabled
(Boolean disabled)
Convenience function for setting disabled/enabled by boolean.
Convenience function for setting disabled/enabled by boolean.
|
Roo.Component | |
Roo.bootstrap.Table | ||
setVisible
(Boolean visible)
:
Roo.Component
Convenience function to hide or show this component by boolean.
Convenience function to hide or show this component by boolean.
|
Roo.Component | |
show
()
Show a component - removes 'hidden' class
Show a component - removes 'hidden' class
|
Roo.bootstrap.Component | |
tooltipEl
()
:
Roo.Element
Fetch the element to display the tooltip on.
Fetch the element to display the tooltip on.
|
Roo.bootstrap.Component | |
Roo.util.Observable |
Event | Defined By | |
---|---|---|
beforedestroy (Roo.Component this)
Fires before the component is destroyed.
Fires before the component is destroyed. Return false to stop the destroy.
|
Roo.Component | |
beforehide (Roo.Component this)
Fires before the component is hidden.
Fires before the component is hidden. Return false to stop the hide.
|
Roo.Component | |
beforerender (Roo.Component this)
Fires before the component is rendered.
Fires before the component is rendered. Return false to stop the render.
|
Roo.Component | |
beforeshow (Roo.Component this)
Fires before the component is shown.
Fires before the component is shown. Return false to stop the show.
|
Roo.Component | |
cellclick (Roo.bootstrap.Table this, Roo.Element el, Number rowIndex, Number columnIndex, Roo.EventObject e)
Fires when a cell is clicked
Fires when a cell is clicked
|
Roo.bootstrap.Table | |
Fires when a cell is right clicked
Fires when a cell is right clicked
|
Roo.bootstrap.Table | |
celldblclick (Roo.bootstrap.Table this, Roo.Element el, Number rowIndex, Number columnIndex, Roo.EventObject e)
Fires when a cell is double clicked
Fires when a cell is double clicked
|
Roo.bootstrap.Table | |
childrenrendered (Roo.bootstrap.Component this)
Fires when the children have been rendered.
Fires when the children have been rendered..
|
Roo.bootstrap.Component | |
contextmenu (Roo.EventObject e)
The raw contextmenu event for the entire grid.
The raw contextmenu event for the entire grid.
|
Roo.bootstrap.Table | |
destroy (Roo.Component this)
Fires after the component is destroyed.
Fires after the component is destroyed.
|
Roo.Component | |
disable (Roo.Component this)
Fires after the component is disabled.
Fires after the component is disabled.
|
Roo.Component | |
enable (Roo.Component this)
Fires after the component is enabled.
Fires after the component is enabled.
|
Roo.Component | |
Fires when a header is right clicked
Fires when a header is right clicked
|
Roo.bootstrap.Table | |
hide (Roo.Component this)
Fires after the component is hidden.
Fires after the component is hidden.
|
Roo.Component | |
mouseout (Roo.bootstrap.Table this, Roo.Element el, Number rowIndex, Number columnIndex, Roo.EventObject e)
Fires when a mouseout occur
Fires when a mouseout occur
|
Roo.bootstrap.Table | |
mouseover (Roo.bootstrap.Table this, Roo.Element el, Number rowIndex, Number columnIndex, Roo.EventObject e)
Fires when a mouseover occur
Fires when a mouseover occur
|
Roo.bootstrap.Table | |
render (Roo.Component this)
Fires after the component is rendered.
Fires after the component is rendered.
|
Roo.Component | |
rowclass (Roo.bootstrap.Table this, Object rowcfg)
Fires when a row is rendered, so you can change add a style to it.
Fires when a row is rendered, so you can change add a style to it.
|
Roo.bootstrap.Table | |
Fires when a row is clicked
Fires when a row is clicked
|
Roo.bootstrap.Table | |
Fires when a row is right clicked
Fires when a row is right clicked
|
Roo.bootstrap.Table | |
Fires when a row is double clicked
Fires when a row is double clicked
|
Roo.bootstrap.Table | |
rowsrendered (Roo.bootstrap.Table this)
Fires when all the rows have been rendered
Fires when all the rows have been rendered
|
Roo.bootstrap.Table | |
show (Roo.Component this)
Fires after the component is shown.
Fires after the component is shown.
|
Roo.Component |