Skip to content

Example of Adaptive Layout in ASP.NET Core Data Grid Control

This sample demonstrates optimal viewing experience and improve usability on small screens.

Properties

The enableAdaptiveUI property is used to render the grid filter, sort, edit, pager and toolbars like column chooser, pdf export, excel export, etc... dialogs adaptively and rowRenderingMode property is used to render the grid row elements in the following directions,

  • Horizontal - Renders the grid row elements in the horizontal direction.
  • Vertical - Renders the grid row elements in the vertical direction.

In this sample, you can change the row elements rendering direction by using the properties panel checkbox

In this demo, the column menu feature is only supported for the Grid rowRenderingMode mode as Vertical. This feature includes grouping, sorting, autofit, filter, and column chooser feature.