Occurs when row or cell receives the input focus.
|e||Object||An event object which contains the row or cell|
This event can be handled by creating a function in your application controller and applying this function as value to an attribute in Grid directive:
- got-focus attribute, or
- events attribute
The events attribute has a higher priority than the got-focus attribute. If both attributes are set, the value from events attribute is used.
Supported in: v2.1.
Articles & Samples
- Dynamically Add Rows
An example on how to add new rows dynamically in IntegralUI Grid AngularJS.
- Custom DropDown Editor in AngularJS Grid
Create custom editor template and apply it to cells in AngularJS Grid as dropdown editor. This sample demonstrates how to edit cells using dropdown list as editor, generated from a template.
- InCell Editor
An example on how to enable incell editing by creating a custom editor and place it inside a grid cell in IntegralUI Grid AngularJS.
- Label Edit
An example on how to enable label editing for each cell in IntegralUI Grid for AngularJS.