EllipsisSettings.flexEllipsisEnd; doesn't work while WordWrap is True

Posted by: samo3889 on 7 May 2018, 7:31 am EST

    • Post Options:
    • Link

    Posted 7 May 2018, 7:31 am EST

    hi all

    i use C1FlexGrid

    Version: 4.0.20173.286

    the following line : c1FlexGridClassic1.Ellipsis = EllipsisSettings.flexEllipsisEnd;

    it’s doesn’t work if wordWrap is true

    i try the following exmaple:

    private void Form1_Load(object sender, EventArgs e)

    {

    c1FlexGridClassic1[1, 1] = “this sentence for Test C1FlexGridClassic”;

    c1FlexGridClassic1.WordWrap = true;

    c1FlexGridClassic1.Ellipsis = EllipsisSettings.flexEllipsisEnd;

    }

    wordwrap it’s work

    but EllipsisSettings.flexEllipsisEnd it’s not

    thanks

    Saleem.

  • Posted 8 May 2018, 4:47 am EST

    Hello,

    use the following line of code to show ellipsis

    
    private void Form1_Load(object sender, EventArgs e)
    {
    c1FlexGridClassic1[1, 1] = "this sentence for Test C1FlexGridClassic"; 
    c1FlexGridClassic1.UseCompatibleTextRendering = true;
    c1FlexGridClassic1.WordWrap = true;
    c1FlexGridClassic1.Ellipsis = EllipsisSettings.flexEllipsisEnd;
    }
    
    

    Hope it helps.

    Thanks,

    Mohit

  • Posted 15 May 2018, 7:37 am EST

    thanks mohitg it’s work :slight_smile:

Need extra support?

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

Learn More

Forum Channels