Get Free Trial
Get Free Trial

Context menu doesn’t select clicked cell

Answered
Ilaria asked on December 13, 2019

Hi,
I would like to report an issue on selection and context menu.
The context menu doesn’t select the clicked cell.  If you have a selection on a cell and you right-click another cell the old one is still selected, so its’not clear which cell had been clicked (see attached image).
The correct behavior in my opinion should be:

  • if you right click on the selection, the selection doesn’t change (to preserve multi-selection)
  • if you right click outside the selection, the selection is moved to the clicked cell

Thank you!

4 answers

Public
Ian Sadovy Flexmonster December 13, 2019

Hello, Ilaria,
 
Thank you for reaching out to us.
 
We would like to kindly notice that the functionality of the cell selection and the context menu are not closely connected; therefore, opening the context menu through the specific cell has no impact on highlighting selected cells.
 
It would be very useful for us to know whether that inconsistent behavior is critical for your use case so we could provide an exact ETA of the fix.
 
Please contact us in case additional questions occur.
 
Best Regards,
Ian

Public
Ilaria December 16, 2019

Hi Ian,
I added a lot of customizations and functionalities to the pivot. Most of the code i wrote is attached to dom event listeners, so I always refer to ‘selectedCells’ to know which cells are selected and what is the user doing. Some of these procedures are also shared by handlers of contextmenu items, and this is ok if ‘selectedCells’ and parameter ‘data’ of customizeContextMenu are always the same. But I realized that is not so. This implies that i should re-write a lot of code, all just for a behavior that is not natural for the user. As I said the user expects that ‘right click’ is applied to selected cells and if you click outside the selection, a new selection is applied on the clicked cell.
So, this is a critical issue for me.
Thank you!

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 17, 2019

Hello, Ilaria,
 
Thank you for your feedback.
 
Our team would like to kindly inform you that the fix for the described inconsistent behavior will be provided with the minor update ETA Jan 13.
 
We will let you know when the version providing fix will be available.
 
Please let us know in case any additional questions arise.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster 7 days ago

Hello, Ilaria,
 
We are glad to announce that now the right click selects a cell on the grid.
 
This is included in the 2.7.23 version of Flexmonster: https://www.flexmonster.com/release-notes/
 
You are welcome to update the component.
Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/ 
 
Please let us know if everything works.
 
Best regards,
Illia

Please login or Register to Submit Answer