[Solved] How To Change Location Of Ajax Loading Icon In Cgridview

Hello,

How can I change the location of the AJAX loading image in the CGridView widget?

I have a heading above my grid and when I add a new row to it, sort a column, etc. the AJAX loading image appears and overlaps with the header. I would like to move the loading image to the right side of the grid.

Thanks.

Try adding this rule to your style sheet:




.grid-view-loading

{

    background-position: right top;

}



That works great, thanks a lot!

And of course I somehow overlooked it in the class reference: http://www.yiiframework.com/doc/api/1.1/CGridView#loadingCssClass-detail :unsure: