View previous topic :: View next topic |
Author |
Message |
salomo
Joined: 05 Apr 2005 Posts: 13 Location: Potsdam (Germany)
|
Posted: Fri Apr 08, 2005 10:15 am Post subject: CellEditor Enter don't change the Cell value |
|
|
If I use the UniversalEditorBox as CellEditor and change the value of a cell and press than enter the editmode ends, but the cell value are not refreshed. Also SetCellValue event will not fired. Not until a other row are selected the change will be visible and applied. How can I make the change immediately after pressing Enter in the editbox. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Apr 12, 2005 11:08 pm Post subject: |
|
|
This appears to be a bug related to validation in the UniversalEditBox which we will fix ASAP. You can work around it however.
If you are using the UniversalEditBox to edit enums etc (ie drop down selection) then set the UpdateValueEvent for the CellEditor (from the VirtualTree designer) to be the ValueChanged event instead of the ValidatedEvent.
If you are using it to edit text then change to use a normal TextBox as the editor. _________________ Infralution Support |
|
Back to top |
|
|
salomo
Joined: 05 Apr 2005 Posts: 13 Location: Potsdam (Germany)
|
Posted: Wed Apr 13, 2005 1:39 pm Post subject: |
|
|
OK, I will use a TextBox.
Some other question.
When add a custom ConetxtMenu to the ColumnHeader, how can I find the Column under the mouse where I have right clicked? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Apr 13, 2005 10:49 pm Post subject: |
|
|
The ContextMenuColumn property on VirtualTree gives you the column that the context menu was displayed for. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Apr 21, 2005 3:35 am Post subject: |
|
|
The issue with the Enter key not causing values to be updated when using the UniversalEditBox as an editor has now been fixed in the latest release (1.4.1) _________________ Infralution Support |
|
Back to top |
|
|
|