Hi,
I have this situation: on my xamgrid column selection should be allowed and sorting too. When user clicks on column header, column is selected and sorted.
Is there any way to make these two functionalities coexist and be more intuitive? So user will do either sort on column or select column(s).
Thanks
Hello,
I have created a sample application which shows an approach for changing the event that triggers the selection of the column. I have modified the default template of the HeaderCellControl in order to allow selecting a column by right clicking on the column header and the sorting continue to be done by clicking with the left button of the mouse. The modification that I have mentioned are made in the SimpleClickableContainer Commanding.Command attached property.
If you have any further questions please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support