Module:libextPackage:wrap.ext.gridParent:ObservableCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.grid.GridView

Inheritance : Object : Observable

Constructors

Signature
public GridView(GridViewConfig config)

Methods

NameSignature
focusCellvoid focusCell(int row, int col)
focusRowvoid focusRow(int row)
getCellHTMLElement getCell(int row, int col)
getHeaderCellHTMLElement getHeaderCell(int index)
getRowHTMLElement getRow(int index)
getRowClassvoid getRowClass(Record record, int index, Array<RowTemplateConfig> rowParams, Store ds)
refreshvoid refresh()
refreshvoid refresh(boolean headersToo)
scrollToTopvoid scrollToTop()

Properties

NameTypeComment
columnsText
core.String
scrollOffset
core.int
sortAscText
core.String
sortClasses
core.Array<core.String>
sortDescText
core.String

Constructors

public GridView(GridViewConfig config)

Parameters

NameTypeDescription
configwrap.ext.grid.types.GridViewConfig



Methods

focusCell

void focusCell(int row, int col)

Parameters

NameTypeDescription
rowcore.int
colcore.int

focusRow

void focusRow(int row)

Parameters

NameTypeDescription
rowcore.int

getCell

HTMLElement getCell(int row, int col)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
rowcore.int
colcore.int

getHeaderCell

HTMLElement getHeaderCell(int index)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
indexcore.int

getRow

HTMLElement getRow(int index)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
indexcore.int

getRowClass

void getRowClass(Record record, int index, Array<RowTemplateConfig> rowParams, Store ds)

Parameters

NameTypeDescription
recordwrap.ext.data.Record
indexcore.int
rowParamscore.Array<wrap.ext.grid.types.RowTemplateConfig>
dswrap.ext.data.Store

refresh

void refresh()


refresh

void refresh(boolean headersToo)

Parameters

NameTypeDescription
headersToocore.boolean

scrollToTop

void scrollToTop()


Module:libextPackage:wrap.ext.gridParent:ObservableCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation