focusManager.setFocus doesn't works with ADG's id,throwing compile time Error
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
On line : focusManager.setFocus(dgServices);
dgServices is id of ADG
Error: Implicit coercion of a value of type mx.controls.AdvancedDataGrid to an unrelated type mx.managers.IFocusManagerComponent.

Example: https://paste.apache.org/7harh
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the compile-time error from the paste example at focusManager.setFocus(dgServices), where dgServices is the AdvancedDataGrid id. Trace the setFocus entry point and the AdvancedDataGrid type involved; done means the example compiles and focus can be set on the grid without the reported coercion error.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100