Here is a minimal sample that draws an icon in the header cell if the row contains a value greater than 5 in column Col1. It also displays a messagebox when you click the header.
http://www.syncfusion.com/Support/user/uploads/GDBG_RowHeaderClick_7752bc5e.zip