Are you attempting to programmatically select all items in the grid? If so, this is currently not something that is supported by the grid control.
Instead, having the end user trigger the “Select All” option in the grid will return all items in the list and not just the current page that is loaded by the UI. In this way, it is possible to perform a bulk operation on all items in a list.