Using a checkbox control in Flexigrid

Using a checkbox control in Flexigrid

Hi guys,
I want to display my grid entries with a checkbox as the left-most column and be able to select one, many or all entries. Something like gmail does. Does anyone know how I can achieve this?

thanks in advance

Tony