TalentGrid
Places people by performance and potential.
kor/ui/TalentGridSource
When to use
- Use it in talent reviews. Limit who can open it.
Examples
Talent review
<k:TalentGrid press=".onPress">
<k:TalentPerson key="1" name="Ada Yılmaz" performance="3" potential="3"/>
<k:TalentPerson key="2" name="Can Koç" performance="2" potential="3"/>
<k:TalentPerson key="3" name="Ece Tan" performance="2" potential="2"/>
<k:TalentPerson key="4" name="Mert Aksoy" performance="3" potential="1"/>
<k:TalentPerson key="5" name="Nil Su" performance="1" potential="2"/>
</k:TalentGrid>
sap.ui.define(["sap/ui/core/mvc/Controller", "kor/ui/Toast"], (Controller, Toast) => Controller.extend("sample.Talent", {
onPress(event) {
Toast.show(String(event.getParameter("key")));
}
}));
API
Properties
| Name | Type | Default | Description |
|---|
label | string | | Accessible name |
xLabel | string | | Horizontal axis. Defaults to performance |
yLabel | string | | Vertical axis. Defaults to potential |
titles | string[] | [] | Names of the nine boxes, row by row from the top left |
Aggregations
| Name | Type | Description |
|---|
people | TalentPerson[] | People |
Events
| Name | Type | Description |
|---|
press | key: string | A person was pressed |
move | key: string
performance: int
potential: int | Moved with Ctrl and an arrow key |
TalentPerson
A person in the grid.
Properties
| Name | Type | Default | Description |
|---|
key | string | | Key |
name | string | | Name |
role | string | | Role |
performance | int | 2 | Performance, 1 to 3 |
potential | int | 2 | Potential, 1 to 3 |
Related
OrgChartHeatmap