'AG Grid set focus on a selected cell

Is there a way to set the focus on a selected cell once the ag-grid is loaded? I already tried using "rowNode.setSelected(true)" but it is not working.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source