I'm looking to into using the Kendo UI Grid. And it seems very feature complete. However it has one fatal flaw. Their [Grid / Hierarchy](http://demos.telerik.com/kendo-ui/grid/hierarchy) is just nested grids and not really a hierarchy. Definitely not a recursive or leveled hierarchy.

Luckily they have a [TreeList](http://demos.telerik.com/kendo-ui/treelist/index) grid which does just that. But it's not nearly as feature complete as the normal Grid. It actually lacks support for paging which makes it completely unusable :(

I read somewhere that they didn't implement paging because when expanding parents then the page would contain one extra item and possibly exceed the page size. Rather weak argument if you ask me... obviously it needs to page by roots.

It's really quite simple. Here's an example using OData

**OData Example**

```
GET ~/Products?$filter=ParentId eq null&$expand=Children&$top={pagesize}&$skip={pagenumber}&$count=true

```

**Result**

```
{
    "@odata.count": 33,
    "value": [
        {
            "Id": 1,
            "ParentId": null,
            ...
            "Children": [
                {
                    "Id": 2,
                    "ParentId": 1,
                }
            ]
        },
        ...
    ]
}

```

Perfect! In other words it's not a limitation of the backend. Though I can see show filtering can get tricky.

Back on topic. I'm looking for advice on how I would implement paging for the TreeList or how I could get the collapsible rows (recursive hierarchy style) in the normal grid. Actually the latter would be preferable as it's more feature complete.