[DevExpress Support Team: CLONED FROM T322529: ShowGridMenu only react on keyboard after mouse click]
When creating a Data Grid with a Table View inside, the context menu does not always react on keyboard input (either Shift+F10 or the menu key). Selecting a cell and press either Shift+F10 or menu key will not trigger the ShowGridMenu event. However, when pressing the right mouse key the event is triggered. After doing this, the keyboard input also works for that specific cell. The mouse click seems to set HasDXContextMenu, which initially is not set.
I have include a very simple example which is basically the default template for a Data Grid with Table Layout.