Select All Total Records functionality needed

I’m a professional user of DHTMLX API. In my search page, I use dhtmlxGrid to display the search results. The search page also uses pagination to show a limited set of records per page. There is a “select all” check-box in the header of the grid which selects all the records in that page. However, I’m looking for a functionality where I can provide the user the facility to “select all total records” for reporting purpose. Can anyone help me out on to how I can achieve this feature? Does dhtmlxGrid API has any such feature?

It can be done only with code modification. Please find example here viewtopic.php?f=14&t=10560&start=0