The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.
Ship Name
|
Ship City
|
Ship Postal Code
|
Ship Country
|
Freight
|
Order Date
|
Shipped Date
|
---|---|---|---|---|---|---|
Vins et alcools Chevalier | Reims | 51100 | France | 32 | 7/4/2014 | 7/16/2014 |
Toms Spezialitäten | Münster | 44087 | Germany | 12 | 7/5/2014 | 7/10/2014 |
Hanari Carnes | Rio de Janeiro | 05454-876 | Brazil | 66 | 7/8/2014 | 7/12/2014 |
Victuailles en stock | Lyon | 69004 | France | 41 | 7/8/2014 | 7/15/2014 |
Suprêmes délices | Charleroi | B-6000 | Belgium | 51 | 7/9/2014 | 7/11/2014 |
Hanari Carnes | Rio de Janeiro | 05454-876 | Brazil | 58 | 7/10/2014 | 7/16/2014 |
Chop-suey Chinese | Bern | 3012 | Switzerland | 23 | 7/11/2014 | 7/23/2014 |
Richter Supermarkt | Genève | 1204 | Switzerland | 148 | 7/12/2014 | 7/15/2014 |
Wellington Importadora | Resende | 08737-363 | Brazil | 14 | 7/15/2014 | 7/17/2014 |
HILARION-Abastos | San Cristóbal | 5022 | Venezuela | 82 | 7/16/2014 | 7/22/2014 |
The DevExpress Data Grid for Blazor splits large amount of data rows across multiple pages and displays a pager for data navigation. Use the PagerNavigationMode to specify how users navigate between pages. The following values are available:
- InputBox — Users can type a page number in the Go to Page input box to navigate to the corresponding page.
- NumericButtons — Users can click numeric buttons to navigate between pages.
- Auto (Default) — If the number of pages is greater or equal to the PagerSwitchToInputBoxButtonCount value or the Data Grid is shown on small devices, the Go to Page input box is displayed. Otherwise, numeric buttons are displayed.
Use the PageSize property to specify the maximum number of rows that the Data Grid can display on a page. If PageSize is less than or equal to 0, all Data Grid rows are displayed on one page, and the pager is hidden.
Set the PagerPageSizeSelectorVisible property to true to display the page size selector. Once a user selects a new size in this selector, the PageSize property value is updated, and the Data Grid is redrawn. The selector consists of two parts:
- A list of predefined page sizes. To fill this list, use the PagerAllowedPageSizes property. If the PageSize property value is not added to this list, the value is displayed in the selector's editor but not available in the selector's list.
- The All item. To show it, set the PagerAllDataRowsItemVisible property to true. When a user selects this item, all grid rows are displayed on one page, and the pager is hidden.
The PageIndex property allows you to switch between Data Grid pages in code. The PageCount property specifies the total number of pages. To show or hide the pager, use the ShowPager property.
The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.
This demo module illustrates how to enable vertical scrolling in the DevExpress Data Grid for Blazor.
The Data Grid's height is determined by the number of rows displayed within a page. Use the DxDataGrid.VerticalScrollBarMode property to display the vertical scrollbar and reduce the Data Grid's height. Use the DxDataGrid.VerticalScrollableHeight property to specify the height of the scrollable area (in pixels).
The DxDataGrid.VerticalScrollBarMode property accepts the following values:
The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.
This demo module illustrates how to enable horizontal scrolling in the DevExpress Data Grid for Blazor.
Specify the Width property for all Data Grid columns and use the DxDataGrid.HorizontalScrollBarMode property to specify the horizontal scrollbar's display mode:
The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.
Our Blazor Data Grid allows you to anchor columns to their left or rightmost edge. Fixed columns can help improve data readability as columns fixed to the right or left remain visible when users scroll the grid horizontally. To fix a column, set its FixedStyle property to DataGridFixedStyle.Left or DataGridFixedStyle.Right.
The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.
Set the DataNavigationMode property to VirtualScrolling to enable virtual scrolling in our Data Grid. The Data Grid loads and renders only the data rows that become visible. Note that this mode requires that all rows have the same height.
In this mode, the Data Grid does not display the pager and opens the Edit Form in a pop-up window.