Data Controls

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

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

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

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() ...

Get Programming Atlas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.