Yii Framework Forum: Yii的Cgridview更新时不能更新列名 - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii的Cgridview更新时不能更新列名 Rate Topic: -----

#1 User is offline   asoqa 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 06-January 13

Posted 29 May 2013 - 10:36 PM

我在ajax请求完成后更新CGridView,如下:
$("#tables-records-col").yiiGridView.update("tables-records-col");
但是我的CGridView的列是动态生成的,通过render时提供columns参数传给views中的CGridView,yiiGridView.update后数据是刷新了,但是列名没有刷新
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users