Section C.5. Data Controls


C.5. Data Controls

Data access in Atlas is handled by the following client-side controls, which are described in greater detail in Chapter 9.

C.5.1. Sys.UI.DataView

Method

Description

get_data()

Returns the data in the control

set_data(data)

Sets the data in the control

get_filteredData()

Returns the filtered data

get_filters()

Returns all filters assigned to the data

get_length()

Returns the number of rows

initialize()

Initializes the control


C.5.2. Sys.UI.ItemView

Method

Description

set_dataIndex(value)

Sets the data index of the control

get_emptyTemplate()

Returns the empty data template

set_emptyTemplate(value)

Sets the empty data template

get_itemTemplate()

Returns the item data template

set_itemTemplate(value)

Sets the item data template

initialize()

Initializes the control

render()

(Re-)renders the control


C.5.3. Sys.UI.ListView

Method

Description

get_alternatingItemCssClass()

Returns the CSS class for alternating items

set_alternatingItemCssClass(value)

Sets the CSS class for alternating items

set_dataIndex(value)

Sets the data index of the control

get_emptyTemplate()

Returns the empty data template

set_emptyTemplate(value)

Sets the empty data template

get_itemCssClass()

Returns the CSS class for items

set_itemCssClass(value)

Sets the CSS class for items

get_itemTemplate()

Returns the item template

set_itemTemplate(value)

Sets the item template

get_itemTemplateParentElementId()

Returns the ID of the parent element of the item template

set_itemTemplateParentElementId (value)

Sets the ID of the parent element of the item template

get_layoutTemplate()

Returns the layout template

set_layoutTemplate(value)

Sets the layout template

get_selectedItemCssClass()

Returns the CSS class for selected list items

set_selectedItemCssClass(value)

Sets the CSS class for selected list items

get_separatorCssClass()

Returns the CSS class for separators

set_separatorCssClass(value)

Sets the CSS class for separators

get_separatorTemplate()

Returns the separator template

set_separatorTemplate(value)

Sets the separator template

get_itemElement(index)

Returns the list element at the given position

initialize()

Initializes the control

render()

(Re-)renders the control





Programming Atlas
Programming Atlas
ISBN: 0596526725
EAN: 2147483647
Year: 2006
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net