The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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).
Thanks,
- 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.