DynamicInputMask
This is the newest addition to the Dynamic� property group for columns. Like the others, it lets you specify an expression that's evaluated at runtime for each row in the grid. In this case, the result of the expression provides an InputMask for the column.
Usage |
colColumn.DynamicInputMask = cInputMaskExpression cInputMaskExpression = colColumn.DynamicInputMask |
Example |
* Specify an InputMask for PostalCode based on the Country. * This is the short version. This.DynamicInputMask = "IIF(UPPER(Country) = 'USA'," + ; "'99999-9999',IIF(UPPER(Country)='CANADA'," + ; "'A9A 9A9','XXXXXXXXXX'))" |
See Also |