JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid CellsVerticalAlign doesn’t always works (Blazor)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #102885
    TurricanDE
    Participant

    When I set the CellsVerticalAlign property like below it looks like it has no effect (always centered)

    <Grid
    <Columns>
    <Column DataField=”Date” Label=”Date” CellsVerticalAlign=”VerticalAlignment.Top”></Column>
    </Columns>

    It works when I set the property programmatically like

    <Grid

    Columns=”@columns”
    Layout=”@gridLayout”>

    </Grid>

    GridLayout gridLayout = new GridLayout()
    {
    AllowCellsWrap = false
    };

    GridColumn gridColumn = new GridColumn()
    {

    Label =”Date”,
    DataField =”Date”,
    CellsVerticalAlign = VerticalAlignment.Top

    }

    columns = ….

     

    But when the GridLayout property is set as follows CellsVerticalAlign also doesn’t work:

    GridLayout gridLayout = new GridLayout()
    {
    RowHeight = “auto”,
    AllowCellsWrap = true
    };

     

     

    #102886
    admin
    Keymaster

    Hi,

    Currently, wrapping with vertical align is not supported in our Grid control. Vertical align is enabled in the default mode with disabled wrapping. That currently seems to be a restriction which we will need to update in future releases.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

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