Skip to content

@serenity-is/corelib / GridRadioSelectionMixin

Class: GridRadioSelectionMixin

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new GridRadioSelectionMixin(grid, options?)

Parameters

Name Type
grid IDataGrid
options? GridRadioSelectionMixinOptions

Defined in

src/ui/helpers/slickhelpers.ts:176

Properties

grid

Private grid: IDataGrid

Defined in

src/ui/helpers/slickhelpers.ts:173


idField

Private idField: string

Defined in

src/ui/helpers/slickhelpers.ts:171


include

Private include: Object

Index signature

▪ [key: string]: boolean

Defined in

src/ui/helpers/slickhelpers.ts:172


options

Private options: GridRadioSelectionMixinOptions

Defined in

src/ui/helpers/slickhelpers.ts:174

Methods

clear

clear(): void

Returns

void

Defined in

src/ui/helpers/slickhelpers.ts:215


getSelectedAsInt32

getSelectedAsInt32(): number

Returns

number

Defined in

src/ui/helpers/slickhelpers.ts:233


getSelectedAsInt64

getSelectedAsInt64(): number

Returns

number

Defined in

src/ui/helpers/slickhelpers.ts:245


getSelectedKey

getSelectedKey(): string

Returns

string

Defined in

src/ui/helpers/slickhelpers.ts:224


isSelectable

Private isSelectable(item): boolean

Parameters

Name Type
item any

Returns

boolean

Defined in

src/ui/helpers/slickhelpers.ts:209


resetCheckedAndRefresh

resetCheckedAndRefresh(): void

Returns

void

Defined in

src/ui/helpers/slickhelpers.ts:219


setSelectedKey

setSelectedKey(key): void

Parameters

Name Type
key string

Returns

void

Defined in

src/ui/helpers/slickhelpers.ts:257


createSelectColumn

Static createSelectColumn(getMixin): Column<any>

Parameters

Name Type
getMixin () => GridRadioSelectionMixin

Returns

Column<any>

Defined in

src/ui/helpers/slickhelpers.ts:262