don't use streaming if dataProvider is not ActiveDataProvider or pagination is enabled and the limit is quite low (<1000); add support for sql and array dataProviders