Roo.Toolbar Roo.PagingToolbar
Package: | Roo |
Defined In: | Roo/PagingToolbar.js. |
Class: | PagingToolbar |
Extends: | Roo.Toolbar |
Options | Defined By | |
---|---|---|
container : String/HTMLElement/Element
container The id or element that will contain the toolbar
container The id or element that will contain the toolbar
|
Roo.PagingToolbar | |
dataSource : Roo.data.Store
The underlying data store providing the paged data
The underlying data store providing the paged data
|
Roo.PagingToolbar | |
displayInfo : Boolean
True to display the displayMsg (defaults to false)
True to display the displayMsg (defaults to false)
|
Roo.PagingToolbar | |
displayMsg : String
The paging status message to display (defaults to "Displaying {start} - {end} of {total}")
The paging status message to display (defaults to "Displaying {start} - {end} of {total}")
|
Roo.PagingToolbar | |
emptyMsg : String
The message to display when no records are found (defaults to "No data to display")
The message to display when no records are found (defaults to "No data to display")
|
Roo.PagingToolbar | |
items : Array
array of button configs or elements to add (will be converted to a MixedCollection)
array of button configs or elements to add (will be converted to a MixedCollection)
|
Roo | |
pageSize : Number
The number of records to display per page (defaults to 20)
The number of records to display per page (defaults to 20)
|
Roo.PagingToolbar |
Method | Defined By | |
---|---|---|
new Roo.PagingToolbar
(Object config)
Create a new Roo.PagingToolbar
Create a new Roo.PagingToolbar
|
||
add
(Mixed arg1, Mixed arg2)
Adds element(s) to the toolbar -- this function takes a variable number of
arguments of mixed type and adds them to the toolbar.
Adds element(s) to the toolbar -- this function takes a variable number of
arguments of mixed type and adds them to the toolbar.
|
Roo.Toolbar | |
addButton
(Object/Array config)
:
Roo.Toolbar.Button/Array
Adds a button (or buttons).
Adds a button (or buttons). See {link Roo.Toolbar.Button} for more info on the config.
|
Roo.Toolbar | |
addDom
(Object config)
:
Roo.Toolbar.Item
Adds a new element to the toolbar from the passed {link Roo.DomHelper} config.
Adds a new element to the toolbar from the passed {link Roo.DomHelper} config.
|
Roo.Toolbar | |
addElement
(String/HTMLElement/Element el)
:
Roo.Toolbar.Item
Adds any standard HTML element to the toolbar
Adds any standard HTML element to the toolbar
|
Roo.Toolbar | |
addField
(Roo.form.Field field)
:
Roo.ToolbarItem
Adds a dynamically rendered Roo.form field (TextField, ComboBox, etc).
Adds a dynamically rendered Roo.form field (TextField, ComboBox, etc).
Note: the field should not have been rendered yet. For a field that has already been rendered, use {link addElement}.
|
Roo.Toolbar | |
addFill
()
:
Roo.Toolbar.Fill
Adds a fill element that forces subsequent additions to the right side of the toolbar
Adds a fill element that forces subsequent additions to the right side of the toolbar
|
Roo.Toolbar | |
addItem
(Roo.Toolbar.Item item)
:
Roo.Toolbar.Item
Adds any Toolbar.Item or subclass
Adds any Toolbar.Item or subclass
|
Roo.Toolbar | |
addSeparator
()
:
Roo.Toolbar.Item
Adds a separator
Adds a separator
|
Roo.Toolbar | |
addSpacer
()
:
Roo.Toolbar.Spacer
Adds a spacer element
Adds a spacer element
|
Roo.Toolbar | |
addText
(String text)
:
Roo.Toolbar.Item
Adds text to the toolbar
Adds text to the toolbar
|
Roo.Toolbar | |
Roo.Toolbar | ||
bind
(Roo.data.Store store)
Binds the paging toolbar to the specified {link Roo.data.Store}
Binds the paging toolbar to the specified {link Roo.data.Store}
|
Roo.PagingToolbar | |
getEl
()
:
Roo.Element
Returns the Element for this toolbar.
Returns the Element for this toolbar.
|
Roo.Toolbar | |
hide
()
Hide the toolbar
Hide the toolbar
|
Roo.Toolbar | |
insertButton
(Number index, Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array) item)
:
Roo.Toolbar.Button/Item
Inserts any {link Roo.Toolbar.Item}/{link Roo.Toolbar.Button} at the specified index.
Inserts any {link Roo.Toolbar.Item}/{link Roo.Toolbar.Button} at the specified index.
|
Roo.Toolbar | |
show
()
Show the toolbar
Show the toolbar
|
Roo.Toolbar | |
unbind
(Roo.data.Store store)
Unbinds the paging toolbar from the specified {link Roo.data.Store}
Unbinds the paging toolbar from the specified {link Roo.data.Store}
|
Roo.PagingToolbar |