标签: gridview yii2 dataprovider
Do any one knows a way to load a yii2 gridview with multiple activeDataProviders?
答案 0 :(得分:1)
使用多个数据数组,然后使用array_merge($ arr1,$ arr2,...)并将结果数组传递给arrayDataProvider。