Closed jonua closed 10 years ago
Hello, @kartik-v ! If i use ArrayDataProvider as dataProvider - ability to sort by columns is lost. If i change dataProvider on ActiveDataProvider - columns sorts is fine.
You must explicitly set the sort configuration for ArrayDataProvider. Read about it in the yii2-docs.
m, yes.. thanks
Hello, @kartik-v ! If i use ArrayDataProvider as dataProvider - ability to sort by columns is lost. If i change dataProvider on ActiveDataProvider - columns sorts is fine.