To use your custom css file globally, set the cssfile property in config file
'widgets' => array (
'cssFile' => '/css/style-gridview.css',
Is there a way to also use a custom jquery.yiigridview.js file instead of the original by some kind of overrule or giving alternate asset directory to publish instead of the original.
Please check “baseScriptUrl” property of CGridView.
You can also set this property using the method specified above.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.