ComponentOne True DBGrid Pro 8
EditMaskUpdate Property

EditMaskUpdate Property

Controls whether masked data is used for updates.

Syntax

column.EditMaskUpdate = boolean

Remarks

Read/Write at run time and design time.

Normally, after the user finishes editing a cell in a column which has its EditMask property set, True DBGrid caches the modified cell text, but any literal characters in the input mask template will be stripped from the modified cell text beforehand. However, you can override this behavior with the EditMaskUpdate property.

By default, the EditMaskUpdate property is False. This means that when the modified cell text is updated to the database, the grid sends the cached text (stripped of literals), not the formatted text displayed in the cell. You can override this default behavior by setting the EditMaskUpdate property to True, which causes the cached text to be formatted according to the EditMask property before being updated to the database.

See Also

Column Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback