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
990
Mouse Events on cell combo editor
posted

Hi!

I need to catch a mouse event on a cell editor with combo (UltraCombo in ValueList) to put a context menu but I don't find how I can. The Mouse Down event is not raised on the wingrid nor in the combo. How can I do this ?

This brings me to ask another question. In wingrids, what king of editors should I use ? In my case, for combo, I set ValueList = UltraCombo to have multiple columns and I used EditorComponent for textEditor and numericEditor. It is not clear what I should use. Editor, EditorComponent, ValueList for combo etc. ? Somebody can help me with this purpose ? Keep in mind that I want to catch mouse events on these editors.

Best regards,

Benoit

Parents
  • 469350
    Offline posted

    Hi Benoit,

    Which editor you use depends on what you need. There's not enough information here for me to determine which editor you should be using, since I have no idea what your data source is or why you are using an editor at all.

    The vast majority of the time, you do not need to use an editor at all. The grid will choose a default editor based on the data type and certain property settings of the column such as Style and ValueList.

    FrancisVital said:
    I need to catch a mouse event on a cell editor with combo (UltraCombo in ValueList) to put a context menu but I don't find how I can. The Mouse Down event is not raised on the wingrid nor in the combo. How can I do this ?

    Regarding the UltraCombo and MouseDown, I don't think there is any way to do this.

Reply Children