Another Grid dropdown Question

Started by johnM, October 17, 2009, 02:23:10 PM

Previous topic - Next topic

johnM

Runtime 6.0.0.8

A Grid with 2 columns both dropdown 40
For conversation sake there is 1 row
When an item is picked in column 1 a corresponding list is loaded into column 2
When a different item is picked in column 1 the list for column 2 is cleared and the text in the cell is cleared then the new corresponding list is loaded into column 2.

Issue: if there is text in cell2 and you click on it directly after picking a new item in cell1 the text in cell2 is not cleared. The dropdown box in cell2 appears with the old text in it.

The list is loaded via the endlabeledit event. The dropdown box appears in cell2 before the endlabeledit event for cell1 is finished executing.

owenwengerd

The OnEndLabelEdit event for the first cell should be fired before the edit control for the second cell is created. Are you saying that is not the case? What is the Event Invoke property set to for the grid control? If it's set to Asynchronous, that would explain the behavior you're seeing.