Hi there
We are using the UltraWinGrid v8.2.20082.1000
We have data that is stored in a SQL Server table as MONEY datatype and is loaded into an ADO.NET 2.0 DataTable into a DECIMAL column.
Our grid is then bound to that table.
I am specifying a MaskInput value on the decimal column as "nnn,nnn,nnn.nn" and a Format of "###,###,##0.00" but the unfortunately the MaskInput is always shown with 4 decimal places.
If I cast the MONEY to a DECIMAL(12,2) in the returned stored proc the MaskInput will appear with 2 decimal places but that solution is not applicable to us because we allow the users to change the MaskInput and Format on the client.
Is is possible to effect the MaskInput of the data in this situation and if so how?
Am I completely missing something?
Regards
geoffhop
Thanks in advance
No need to reply guys I found the fault, inadvertently an EditorWithText wasbeing assigned to the column.
Regards geoffhop