Help with formating column in C1TrueDBGrid

Posted by: Victor.m.charles.civ on 26 February 2020, 12:46 pm EST

    • Post Options:
    • Link

    Posted 26 February 2020, 12:46 pm EST

    Hello,

    After loading the Grid using a table from an xml file, how do I reformat a column (xxxx-xx-xxx-xxxx) to remove the “-” and only display (xxxxxxxxxxxxx)?

    Thanks,

    Victor

  • Posted 27 February 2020, 4:38 am EST

    Hi Victor,

    You can use the FormatText event as implemented in the attached sample to achieve your desired output.

    I hope it helps.

    Regards,

    Prabhat Sharma.

    TrueDBGridReformatColumnDemo.zip

  • Posted 2 March 2020, 11:43 am EST

    It works.

    Thank You.

Need extra support?

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

Learn More

Forum Channels