I had been trying out to implement the datagrid headerrenderer + itemrenderer to allow select all/deselect all checkboxes on the datagrid rows
I have picked various ideas from the examples given by Alex on datagrid itemrenderers and created a demo to show how to implement the checkbox select all with header renderer.
[You can preview the example to see what I am talking about and download the code here]