Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
実際に表示された値を並べ替えることができるグリッドビューが欲しいです。データベースから別のデータを取得したくはありませんが、表示されたデータを並べ替えるだけです。jquery tablesorter プラグインと同じです。可能ですか?
配列にデータを入力し、CArrayDataProvider を作成できます。これにより、データベースにリンクされていないソート可能な結果セットが作成されます。モデルを使用する必要はありません。任意のデータ ソースを使用できます。
http://www.yiiframework.com/doc/api/1.1/CArrayDataProvider