Gridview And Css

Hello Yii friend

I am unable to load style.css in gridview. The search functionality work fine for me but not css. Is there any way to load it. Thanks in Advance.

Hi jasonban,

Do you mean the default "gridview/style.css" in the "assets" directory?

yes, you are right…how can I solved this problem.this how i get in view part?

The default css should be loaded without any special settings, as long as you are using it out of the box. Please share your code for the gridview.

And you should check the permissions of your assets directory.