GridView custom JS and Pjax

Hi all!

Please advise if there is any way to register custom JS code for the GridView which will be loaded within the pjax container?
By default pjax only loads GridViewAsset. All custom JS code is ignored.