Please note that this control has been deprecated and replaced with the Grid component, and as such, we recommend migrating to that control. This will not be receiving any new features, bug fixes will be deprioritized. For help or questions on migrating your codebase to the Data Grid, please contact support.

    Blazor Horizontal Scrolling

    La Ignite UI for Blazor admite el desplazamiento horizontal si se configura el ancho total de las columnas en un valor mayor que el ancho de la cuadrícula de datos Blazor.

    Blazor Horizontal Scrolling Example

    EXAMPLE
    MODULES
    DATA GENERATOR
    DATA SOURCE
    RAZOR
    CSS

    Like this sample? Get access to our complete Ignite UI for Blazor toolkit and start building your own apps in minutes. Download it for free.

    Setting Default Column Width

    <IgbDataGrid Height="100%" Width="100%"
        DataSource="DataSource"
        DefaultColumnMinWidth="300" />
    razor

    Setting Individual Column Widths

    <IgbDataGrid Height="100%" Width="100%"
        DataSource="DataSource"
        AutoGenerateColumns="false">
        <IgbTextColumn Field="FirstName" Width="300" />
        <IgbTextColumn Field="LastName" Width="300" />
        <IgbNumericColumn Field="Age" Width="300" />
        <IgbDateTimeColumn Field="Birthday" Width="300" />
        <IgbTextColumn Field="Street" Width="300" />
        <IgbTextColumn Field="City" Width="300" />
        <IgbNumericColumn Field="Salary" Width="300" />
        <IgbNumericColumn Field="Sales" Width="300" />
    </IgbDataGrid>
    razor

    API References