cgridview and tabs

Hello there,

I am wondering if there is a way to "wrap" cgridview columns inside bootstrap.widgets.TbTabs .

The idea is :

I have a cigridview that contains 10 columns, the first column is id. I want to show only first columns and 2 tabs(the first tab contain 4 columns and the second will contain 5 columns).

any ideas? :)

Thank you.

Not without a lot of modifications. You would have to create a custom cgridview.

A fast solution would be to use one data provider and 4 gridviews (make sure they all have different id). Each grid view would just show the columns you listed above in each tab.

Thank you for this solution. It works.