Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

selectedRow(name, row)

Gets or sets the currently selected row in Grid directive.


nameStringThe value of name attribute of the Grid directive
row (optional)ObjectThe row to be selected

Return Value

If there is no specified row, this property returns the currently selected row. Otherwise does not return a value.


This method is part of IntegralUIGridService.

A call to this method will trigger beforeSelect and afterSelect events. By handling beforeSelect event you can prevent selection of specified row using your own custom conditions.

An row can also become selected using the selected-row attribute of Grid directive. In this case only afterSelect event will be fired.

Version Information

Supported in: v1.0.

Articles & Samples

See Also