I've listgridfield in which I need to show checkboxes. So, I just set that field like
listGridFieldChk.setFieldDataType(ListGridFieldType.BOOLEAN);
It working fine like I want, only thing which I need now is checkbox in header with the same field. So when user want to check or uncheck all checkbox at once will do with this.
I know about the listGrid property which put checkbox field at first column
thisGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
But this will not helpful for me, I need it at custom level.