Skip to content

Commit

Permalink
Add RowSize documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Dec 20, 2024
1 parent 6501cec commit 0928f64
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/Demo/Shared/Pages/DataGrid/DataGridPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@
A sort can be removed by right clicking on the header column (with exception of the default sort).
</p>

<h2 id="styling">Row size</h2>
<p>
As of v4.11.0, the Datagrid offers a <code>RowSize</code> parameter which allows you to use different preset row heights. The value uses the <code>DataGridRowSize</code> enumeration for its type.
When using <code>Virtualize</code>, the <code>ItemSize</code> value isused is still used to indicate the row height.
</p>


<h2 id="changeuistrings">Change strings used in the UI</h2>
<p>
The DataGrid has a number of strings that are used in the UI. These can be changed by setting the <code>ColumnOptionLabels</code>, <code>ColumnResizeLabels</code> and <code>ColumnSortLabels</code> parameters.
Expand Down

0 comments on commit 0928f64

Please sign in to comment.