S
Snig
Hi,
I want to sort the DataGrid according to the number of clicks of mouse on
the column-header link.
e.g.
if user clicks on the header once - it will be sorted ASC
if the header is double-clicked - it will be sorted DESC
It is not exactly toggling the sorting-order. I have seen a lot of messages
and articles in the web about toggling the sort order (like first time click
will generate ASC sort, next time click will generate DESC sort and so on).
But my requirement is how to catch single/double-click of the mouse on the
column header and fixing the sort order accordingly.
Any ideas ?
Thanx
Snig.
I want to sort the DataGrid according to the number of clicks of mouse on
the column-header link.
e.g.
if user clicks on the header once - it will be sorted ASC
if the header is double-clicked - it will be sorted DESC
It is not exactly toggling the sorting-order. I have seen a lot of messages
and articles in the web about toggling the sort order (like first time click
will generate ASC sort, next time click will generate DESC sort and so on).
But my requirement is how to catch single/double-click of the mouse on the
column header and fixing the sort order accordingly.
Any ideas ?
Thanx
Snig.