Hi Uncle Cheese,
I'm really loving the DOM classes. They are the future.
I would like more control over the pagination and page size controls. Firstly, could you bind setPageSize() and setPerPageMap(), so that the pageSize is reflected in PerPageDropdown, and inserted in per_page_map if the value doesn't already exist. Currently they seem to work independently, so setPageSize() overrides the PerPageDropdown.
Also, could you make it so that setting setPerPageMap to an empty array and setUseViewAll to false will hide PerPageDropdown, and just use the default or set pageSize. Might as well, as the currently you just get an empty PerPageDropdown.
Finally, could you make use of setShowPagination? It would be great if setting setShowPagination to false would remove pagination controls and PerPageDropdown, automatically setting pageSize to 'All' (9999).
I like how DOM is getting more and more customisable, as is SilverStripe - and I think these features would enhance this further.
P.S. I second the 'select all' request too.
P.P.S. I'm currently using the 2.3 branch with SS 2.4 Beta 2 due to the 'missing argument 3' error I was getting with ModelAdmin.