Unable to set datatype for fields

Posted by: rabin.shakya on 27 November 2017, 7:52 am EST

    • Post Options:
    • Link

    Posted 27 November 2017, 7:52 am EST

    I am not able to set datatype for a particular field. As a result, the value gets aligned right when the field contains numeric value and gets aligned left when it contains non-numeric values. I tried to set the field Type of the field as “String” but it is readonly property.

    How can I set this field to align properly?

  • Posted 28 November 2017, 7:28 am EST

    Hi!

    Using the following code snippet in your application should resolve the issue:

    _c1FlexPivotPage.FlexPivotGrid.Cols[1].DataType = typeof(string);
    

    Regards,

    Meenakshi

Need extra support?

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

Learn More

Forum Channels