Last Updated:
17 Jun 2019 09:42
by ADMIN
Kendo grid crashes with inline filtering and datasource query without grouping parameter
### Bug report
Ticket ID 1410772
### Reproduction of the problem
Calling dataSource.query with an empty object before the grid is initialized throws an error.
[https://dojo.telerik.com/OzasiZug/5](https://dojo.telerik.com/OzasiZug/5)
```
...
var dataSource = new kendo.data.DataSource({
type: "odata",
transport: {
read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
},
pageSize: 5
});
dataSource.query({});
var grid = $("#grid").kendoGrid({
dataSource: dataSource,
...
```
### Current behavior
An error is thrown.
### Expected/desired behavior
No error should be thrown
### Environment
* **Kendo UI version:** 2019.2.514
* **jQuery version:** 1.12