ChechListBehavior is too wide

Posted by: soraroid on 28 August 2024, 8:15 pm EST

    • Post Options:
    • Link

    Posted 28 August 2024, 8:15 pm EST - Updated 28 August 2024, 8:16 pm EST

    Hi,

    If you look at the attached source, I added CheckListBehavior,

    but the column is too wide, so I want to reduce the width.

    Is there a way to changed it to the size I want?

    FlexGrid-Text-Limit_Edit.zip

  • Posted 29 August 2024, 12:20 am EST

    Hi,

    You could use the following code inside the “OnAfterRenderAsync” method to set the width of the CheckBox.

    if(grid != null)
    {
        grid.Columns["Selected"].Width = 30;
    }

    Kindly refer to the attached sample that demonstrates the same.

    Regards,

    Ankit

    Sample.zip

Need extra support?

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

Learn More

Forum Channels