Select Keyframes of Selected Object? SOLVED

Is there a way to automatically select keyframes (in dope sheet or graph editor) for a selected object in the 3D viewport?

Enable the arrow icon on the header to show only the keyframes of the selected object, then just select all (A)

It’s the same for both graph editor and dope sheet

Perfect! Thanks!