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

    <FONT size=2>

        FarPoint.Win.Spread.CellType.</FONT><FONT color=#008080 size=2>GeneralCellType</FONT><FONT size=2> cboGen = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> FarPoint.Win.Spread.CellType.</FONT><FONT color=#008080 size=2>GeneralCellType</FONT><FONT size=2>();

       System.Globalization.</FONT><FONT color=#008080 size=2>NumberFormatInfo</FONT><FONT size=2> nInfo = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> System.Globalization.</FONT><FONT color=#008080 size=2>NumberFormatInfo</FONT><FONT size=2>();

       nInfo.NumberGroupSizes = arrGroupSize;

       I want other properties like

    <FONT size=2>

    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  <FONT size=2>CurrencySymbol , MinimumValue,  MaximumValue,  DecimalPlaces  in same column."</FONT>

    How can i do that??





    </FONT><FONT color=#008000 size=2><FONT size=2></FONT> 



  • 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