我在Yii搜索时遇到问题。我有两个型号:Teams和Workers。在网站上有一个名为“团队工作人员”的页面,我想在其中显示CGridView小部件,其中显示了来自团队的工作人员(团队ID作为_GET参数传递)。 我TeamsController这样做: public function actionWorkers($id)
{
$model = Teams::model()->find
是否有任何方法将ListBox的ItemsSource绑定到SeriaCollection XAxeLabels或YAxeLabels? 如果没有办法 - 我想知道为什么 - 以及解决方法是什么? 目前指定的绑定似乎没有这样做。 public class AxeLabel
{
public string Text { get; set; }
public Brush Fore