Skip to Main Content
Programming Atlas
book

Programming Atlas

by Christian Wenz
September 2006
Intermediate to advanced content levelIntermediate to advanced
408 pages
10h 38m
English
O'Reilly Media, Inc.
Content preview from Programming Atlas

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Go Systems Programming

Go Systems Programming

Mihalis Tsoukalos

Publisher Resources

ISBN: 0596526725Supplemental ContentCatalog PageErrata