before in 7.175 with the Jiwa Grid
- Code: Select all
jgLinesGrid.AddColumn("PercentDue", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaCurrencyCellType(), "Percent Due", 45, false, true, false,false,DecimalPlaces: 2);
produced a column with 2 decimal places.
Now in 7.182 the following code is needed to produce the same result as it would appear the decimal argument is being ignored somehow.
- Code: Select all
jgLinesGrid.AddColumn("PercentDue", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaCurrencyCellType(), "Percent Due", 45, false, true, false,false,DecimalPlaces: 2);
(jgLinesGrid.ActiveSheet.Columns["PercentDue"].CellType as FarPoint.Win.Spread.CellType.CurrencyCellType).DecimalPlaces = 2;
The form in question inherits from JiwaFinancials.Jiwa.JiwaApplication.Maintenance.UserInterface


