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

wrap.ext.grid.RowSelectionModel

Inheritance : Object : Observable : AbstractSelectionModel

Constructors

Signature
public RowSelectionModel(RowSelectionModelConfig config)

Methods

NameSignature
clearSelectionsvoid clearSelections()
deselectRangevoid deselectRange(int startRow, int endRow)
deselectRowvoid deselectRow(int row)
eachboolean each(Function fn)
eachboolean each(Function fn, Object scope)
getCountint getCount()
getSelectedRecord getSelected()
getSelectionsArray<Record> getSelections()
hasNextboolean hasNext()
hasPreviousboolean hasPrevious()
hasSelectionboolean hasSelection()
isIdSelectedboolean isIdSelected(String id)
isSelectedboolean isSelected(Record record)
isSelectedboolean isSelected(int record)
selectAllvoid selectAll()
selectFirstRowvoid selectFirstRow()
selectLastRowvoid selectLastRow()
selectLastRowvoid selectLastRow(boolean keepExisting)
selectPreviousvoid selectPrevious()
selectPreviousvoid selectPrevious(boolean keepExisting)
selectRangevoid selectRange(int startRow, int endRow)
selectRangevoid selectRange(int startRow, int endRow, boolean keepExisting)
selectRecordsvoid selectRecords(Array<Record> records)
selectRecordsvoid selectRecords(Array<Record> records, boolean keepExisting)
selectRowvoid selectRow(int row)
selectRowvoid selectRow(int row, boolean keepExisting)
selectRowsvoid selectRows(Array<int> rows)
selectRowsvoid selectRows(Array<int> rows, boolean keepExisting)

Constructors

public RowSelectionModel(RowSelectionModelConfig config)

Parameters

NameTypeDescription
configwrap.ext.grid.types.RowSelectionModelConfig



Methods

clearSelections

void clearSelections()


deselectRange

void deselectRange(int startRow, int endRow)

Parameters

NameTypeDescription
startRowcore.int
endRowcore.int

deselectRow

void deselectRow(int row)

Parameters

NameTypeDescription
rowcore.int

each

boolean each(Function fn)

Returns
core.boolean

Parameters

NameTypeDescription
fncore.Function

each

boolean each(Function fn, Object scope)

Returns
core.boolean

Parameters

NameTypeDescription
fncore.Function
scopecore.Object

getCount

int getCount()

Returns
core.int

getSelected

Record getSelected()

Returns
wrap.ext.data.Record

getSelections

Array<Record> getSelections()

Returns
core.Array<wrap.ext.data.Record>

hasNext

boolean hasNext()

Returns
core.boolean

hasPrevious

boolean hasPrevious()

Returns
core.boolean

hasSelection

boolean hasSelection()

Returns
core.boolean

isIdSelected

boolean isIdSelected(String id)

Returns
core.boolean

Parameters

NameTypeDescription
idcore.String

isSelected

boolean isSelected(Record record)

Returns
core.boolean

Parameters

NameTypeDescription
recordwrap.ext.data.Record

isSelected

boolean isSelected(int record)

Returns
core.boolean

Parameters

NameTypeDescription
recordcore.int

selectAll

void selectAll()


selectFirstRow

void selectFirstRow()


selectLastRow

void selectLastRow()


selectLastRow

void selectLastRow(boolean keepExisting)

Parameters

NameTypeDescription
keepExistingcore.boolean

selectPrevious

void selectPrevious()


selectPrevious

void selectPrevious(boolean keepExisting)

Parameters

NameTypeDescription
keepExistingcore.boolean

selectRange

void selectRange(int startRow, int endRow)

Parameters

NameTypeDescription
startRowcore.int
endRowcore.int

selectRange

void selectRange(int startRow, int endRow, boolean keepExisting)

Parameters

NameTypeDescription
startRowcore.int
endRowcore.int
keepExistingcore.boolean

selectRecords

void selectRecords(Array<Record> records)

Parameters

NameTypeDescription
recordscore.Array<wrap.ext.data.Record>

selectRecords

void selectRecords(Array<Record> records, boolean keepExisting)

Parameters

NameTypeDescription
recordscore.Array<wrap.ext.data.Record>
keepExistingcore.boolean

selectRow

void selectRow(int row)

Parameters

NameTypeDescription
rowcore.int

selectRow

void selectRow(int row, boolean keepExisting)

Parameters

NameTypeDescription
rowcore.int
keepExistingcore.boolean

selectRows

void selectRows(Array<int> rows)

Parameters

NameTypeDescription
rowscore.Array<core.int>

selectRows

void selectRows(Array<int> rows, boolean keepExisting)

Parameters

NameTypeDescription
rowscore.Array<core.int>
keepExistingcore.boolean

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