C1TrueDBGrid incorrectly right-justifies a numeric column

Posted by: bsommer on 24 December 2019, 11:25 am EST

    • Post Options:
    • Link

    Posted 24 December 2019, 11:25 am EST

    Why does C1TrueDBGrid right-justify a non-numeric column? See attached document for example. The documentation states the alignment is based on underlying data type of column, but it looks like it is basing it on the value of the column.

  • Posted 26 December 2019, 2:41 am EST

    Hello,

    Sorry, we could not find any attachment.

    Kindly re-attached the document so that we can help you.

    Regards,

    Prabhat Sharma.

  • Posted 26 December 2019, 11:08 am EST

    I narrowed down the problem. When the marqueestyle is set to highlightrow, any alphanumeric cell that only contains numeric characters gets right justified. In our case we are binding to a datasource, and the column is a string property.

  • Posted 26 December 2019, 11:11 am EST

  • Posted 27 December 2019, 1:39 am EST

    Hello,

    Sorry we can not replicate the issue at our end and alignment of alphanumeric cell that only contains numeric characters remains left justified even after selecting the row.

    Please see the GIF in the attachment and let us know if you are doing anything else.

    We have also attached the sample which is working fine at our end, please modify it accordingly to replicate the issue.

    Regards,

    Prabhat Sharma.

    TDBAlignDemo.zip

Need extra support?

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

Learn More

Forum Channels