Datagrid column width

Hello Team ,

Can we add the max-width and min-width for the DataGrid specific one column.

There is no max width setting for DataGrid columns.

1 Like

I added a width of 130px for one column. and text aligns correctly, but when the text is too large, the first letters are hidden. What to do in case ?

You can use this style, similar to this demo, if you want your columns to have auto width depending on the content:

<style>
    .rz-grid-table {
        width: unset;
    }
</style>

or you can force your column content to wrap using this style:

.rz-cell-data {
    overflow: visible !important;
    white-space: normal !important;
}

2 Likes