How can I capture a click in the column header? I'm currently using MouseUp, but if fires after you resize a column, and differentiating between a header click and a column resize in the MouseUp seems clunky. Thanks.
ADAdministrator Syncfusion Team November 15, 2002 05:35 PM UTC
Did you try listening to the CellClick event and checking e.RowIndex and e.ColIndex to see if it is a column header cell?
IPIvan PellyNovember 15, 2002 07:14 PM UTC
The CellClick event doesn't appear to fire when I click on a column header. (The cursor turns to a down-arrow as I move over the column header. When I click, the column becomes selected, and the cursor changes to a regular arrow with a tiny marquee at the tail).
- Ivan Pelly
ADAdministrator Syncfusion Team November 16, 2002 03:49 PM UTC
What version of the grid are you using? The current 1.5 version (and I think the previous 1.1 version) fire the Cell_Click event if you click a column header.