O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required