JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Set AllowCellsWrap dynamically (Blazor)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #102757

    We want to toggle the “AllowsCellsWrap” dynamically after the data is set.

    We bind the layout property to the grid like that:

    <Smart.Blazor.Grid @ref=”grid”
    Layout = “@gridLayout”


    We set the new values when the toggle event is triggered:

    gridLayout.AllowCellsWrap = toogleValue;

    if (toogleValue == true)
    gridLayout.RowHeight = “auto”;
    gridLayout.RowHeight = “”;

    The only effect we see is the that the row height is changing immediately, but it has no effect for the cells wrap. If we load the data again,
    than the new cells wrap setting is working.

    It is possible that the cells wrap is immediately triggered like the row height property?





    Yavor Dashev

    Hi TurricanDE,


    Yes this behavior is not intended and I have added a work item for this use case and we will work to fix it as soon we are able.


    I would like to thank you for reporting this issue as it helps us improve our products constantly!

    Please, do not hesitate to contact us if you have any additional questions.

    Best regards,
    Yavor Dashev

    Smart UI Team




Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.