Force load extension

I’m using widget dzRaty to display it in gridview column:

'columns' => array(


    [ 'name' => 'value', 'class' => 'application.extensions.dzRaty-master.DzRatyDataColumn', 'options' => [ 'space' => false ], ],



It works fine if there are rows in gridview on page load. But if gridview has no rows, extension is not loaded, and after ajax update code in gridview rows try to use absent client scripts. How can i load extension in specific controller action?

you can preload extensions using the config file