[]
        
(Showing Draft Content)

GC.Spread.Sheets.TableSheet.IRowActionOptions

Interface: IRowActionOptions

Sheets.TableSheet.IRowActionOptions

Table of contents

Properties

Methods

Properties

command

Optional command: string

To specify the command name which emit a action.


iconSize

Optional iconSize: number | IImageSize

To specify the icon size when drawing.


icons

Optional icons: (string | ButtonImageType)[]

The row action icon list for different statuses.


name

Optional name: string

The row action name.


shortcutKey

Optional shortcutKey: IShortcutKey

To specify the shortcut key.


tooltip

Optional tooltip: string

The tooltip when hover on the row action.

Methods

iconSelector

Optional iconSelector(item, index, context): number | boolean

To select an icon for different statuses.

Parameters

Name Type
item any
index number
context any

Returns

number | boolean