Combobox in Fixed column does not work

Jul 29, 2009 at 8:48 AM
Edited Jul 29, 2009 at 8:51 AM

Because my combobox is in a fixed column it does not work.  I have tested this by removing the fixed state on the column and it works OK.


I traced it to this bit of code in OnMouseDown in MouseSelection.cs

if (sender.Position.Row < sender.Grid.ActualFixedRows || sender.Position.Column < sender.Grid.ActualFixedColumns)
                m_log.DebugFormat("not processing OnMouseDown event, do not change scroll position if in fixed row/column");

which is stopping the selection of the cell, which means that the combobox onmousedown code does not see the cell as the activeposition and therefore does not do anything.


Is there a workaround for this or am I going to have to edit the sourcegrid code?  If I comment out the bit of code above it works fine, so what is the actual purpose of the above code as it doesn't seem to affect scroll positions as the comment would suggest?