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
785
Embed with customized controls in the WinGrid
posted

Hi,
Recently I'm using UltraDateTimeEditor and TextBox to implement something like DateTimePicker.
And as the requests, I've implement the component CCalendarCombo, which with a textbox to cover the display area of the UltraDateTimeEditor control
and display the value that's selected. Also I could input with some kind of formatted date that I need to process in the TextChanged event.

Here is what my questions is: I read about how to embed any controls in the WinGrid, and that is to use the property EditorComponent.
"columns["No"].EditorComponent = this.cCalendarCombo1;"
But with that, I couldn't take the component that I've implemented into the WinGrid.Is there something that I'm missing?

I'll attach the sample solution.
Could you help me with that? Thanks for your concern.

WindowsFormsApplication10.zip
Parents Reply Children
No Data