How To Insert A Scroll Bar For A Particular Column In Yii Cgridview

I have a gridview which displays the data of a table. Now in a record, there is a column which contains xml and it contains a large data.


Now I want to create a vertical scroll bar only to this column where the data is too large.

How can I do this?

First of all, please select appropriate forum for your posts. "Bug discussions" is not, since this is not a bug.

Next, you can create wrapper around your content (div, for example), and set css height and overflow-y params to get scrolling.

Also, there can be some way to set styles for the column itself (without extra wrapper), check the docs for that.