In our application, we have code that needs to execute when the header cell is clicked but needs to be ignored when the column is being resized (by clicking and dragging on the line between header cells).
However, after resizing a column, when the mouse is released, a Click event is created and the code executes.
Is this the correct behavior or an issue?
If the user clicks inside and header cell and drags, no click event occurs when the mouse is released. I assume this is the correct behavior, so why should it happen when resizing columns?
If this is the correct behavior, what is the correct way to excecute code when the user clicks a header cell and not when resizing the column?
Thanks
However, after resizing a column, when the mouse is released, a Click event is created and the code executes.
Is this the correct behavior or an issue?
If the user clicks inside and header cell and drags, no click event occurs when the mouse is released. I assume this is the correct behavior, so why should it happen when resizing columns?
If this is the correct behavior, what is the correct way to excecute code when the user clicks a header cell and not when resizing the column?
Thanks