[]
        
(Showing Draft Content)

Wijmo_Grid_Cellmaker.Iratingoptions

IRatingOptions Interface

Specifies parameters used to create rating cells with the CellMaker.makeRating method.

Heirarchy

Properties

Optional attributes

attributes: object

Object with attributes to apply to the cell content element.

Optional click

click: ICellMakerClickHandler

Function to be executed when the element is clicked.

Optional cssClass

cssClass: string

Template string used to set the element's CSS class names.

Optional label

label: string

Template string used to set the element's "aria-label" attribute.

Optional range

range: number[]

Range of the rating values, expressed as an array with two numbers (minimum and maximum ratings).

The default value for this option is [0, 5].

Optional showZeros

showZeros: boolean

Whether to show symbols for zero ratings.

The default value for this option is false, which causes the zero symbol not to be displayed. Users may still click the area to the left of the first symbol to give the cell a zero rating.