Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Scrollable Gridview

$
0
0
Hi everybody,

Is there any way to make a fixed height gridview scrollable when you display tons of row ??

First I used this extension http://www.yiiframework.com/extension/escrollablegridview/ it works well but css is managed by the javascript... impossible to handle it correctly I have many problems of width between columns and header... they are all the time shifted... I tried many things to correct that but I finally gave up.

Then I tried simply to put my gridview in a div with a fixed height and "overflow-y:auto" css style... but here again it doesn't work... div is well 500px big... but table goes over and no scroll appears...

So is there other way to do it ? or have you an Idea ??

I searched a lot on yii website but I didn't find anything interesting except the extension I talked about. Almost all topics I found were about infinite scroll (like on twitter) but I want a simple one.

thanks

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>