Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
UltraGrid CellClickAction.CellSelect seems to interfere with MouseUp Event
posted

I have a BaseListControl that contains an UltraGrid, and several class inheriting from it (we have several grids around the app).

The base has the row selection enabled by default - DisplayLayout.Override.CellClickAction is set to RowSelect. However, one of the inheriting classes requires CellSelect (for drag & drop functionality at cell level).

When I set:

            myGrid.DisplayLayout.Override.CellClickAction = CellClickAction.CellSelect;

In the inheriting class' InitializeComponent, the MouseUp event does not fire (unless I click on a scroll bar or on a line drawn in between cells). But when I comment out the above line of code, MouseUp fires every time.

I should mention - MouseDown always fires, whether the above line is there or not.

Any help would be much appreciated.

Parents Reply Children
No Data