This question is locked. New answers and comments are not allowed.
Hi,
I‘m facing a problem with right click.
I added a right-click menu into GridView.
I want to let the performance of right-click close to Excel facilitating my users to use my application.
But it don't work.
The performance here that I want to show :
(In case of GridView.SelectionUnit is Cell)
1.When I RIGHT click on one cell and there was no cell selected in GridView,
then select the cell I clicked(THIS ACTION DON'T OCCUR NOW, and I want to do),
and show right-click menu(this action is OK)
2.When I selected some cells, and right click on one of them,
then display right-click menu(this action is OK).
3.When I selected some cells, and right click on one of other cell,
then unselect the originally selected cells(THIS ACTION DON'T WORK NOW, and I want to do) ,
and select the cell on which right clicked(THIS ACTION DON'T WORK NOW, and I want to do) ,
and show right-click menu(this action is OK) .
(In case of GridView.SelectionUnit is Row)
1.When I right click on one row and there is no row been selected,
then selected the row I clicked,and show right-click menu.(This is OK).
2.When I selected some rows,and right click on one of other row,
then unselect the the originally selected rows,
and select the row I clicked,
and show the right-click menu.(This is OK).
3.When I selected some rows,and right click on one of them,
then keep the rows I selected(THIS ACTION DON'T WORK NOW),
and show right-click menu.(This is OK) .
Is there any solution for above demands?
Best Regards
I‘m facing a problem with right click.
I added a right-click menu into GridView.
I want to let the performance of right-click close to Excel facilitating my users to use my application.
But it don't work.
The performance here that I want to show :
(In case of GridView.SelectionUnit is Cell)
1.When I RIGHT click on one cell and there was no cell selected in GridView,
then select the cell I clicked(THIS ACTION DON'T OCCUR NOW, and I want to do),
and show right-click menu(this action is OK)
2.When I selected some cells, and right click on one of them,
then display right-click menu(this action is OK).
3.When I selected some cells, and right click on one of other cell,
then unselect the originally selected cells(THIS ACTION DON'T WORK NOW, and I want to do) ,
and select the cell on which right clicked(THIS ACTION DON'T WORK NOW, and I want to do) ,
and show right-click menu(this action is OK) .
(In case of GridView.SelectionUnit is Row)
1.When I right click on one row and there is no row been selected,
then selected the row I clicked,and show right-click menu.(This is OK).
2.When I selected some rows,and right click on one of other row,
then unselect the the originally selected rows,
and select the row I clicked,
and show the right-click menu.(This is OK).
3.When I selected some rows,and right click on one of them,
then keep the rows I selected(THIS ACTION DON'T WORK NOW),
and show right-click menu.(This is OK) .
Is there any solution for above demands?
Best Regards