GroupSize in column in Farpoint Grid !

Posted by: kamlesh on 8 September 2017, 1:33 pm EST

  • Posted 8 September 2017, 1:33 pm EST

    Hi ,

        I would like to apply properties of GeneralCellType and CurrencyCellType both in same column.

        but the groupsize exposed only by GeneralCellType

        FarPoint.Win.Spread.CellType.GeneralCellType cboGen = new FarPoint.Win.Spread.CellType.GeneralCellType();

       System.Globalization.NumberFormatInfo nInfo = new System.Globalization.NumberFormatInfo();

       nInfo.NumberGroupSizes = arrGroupSize;

       I want other properties like

    CurrencySymbol = CurrencySymbol;

    MinimumValue = MinValue;

    MaximumValue = MaxValue;

    DecimalPlaces = NoOfDecimalPlaces;

    DecimalSeparator = DecimalSeparator;

    NegativeFormat = NegativeFormat;

    NegativeRed = NegativeRed;

    PositiveFormat = PositiveFormat;

    and these are exposed by Currency Column only.

    So how can i give Column.CellType  to both celltype??


     if i ask it other way   "I want GroupSize and  CurrencySymbol , MinimumValue,  MaximumValue,  DecimalPlaces  in same column."

    How can i do that??







  • Replied 8 September 2017, 1:33 pm EST

    There is a CurrencySymbol for the NumberFormatInfo and also CurrencyDecimalDigits.  There is no Minimum or Maximum value but you could check that in one of the spread cells or you could create a custom celltype.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels