Resizing Columns - ASP.NET MVC Extensions - Grid View Demo

...x
No results found for . All Demos All Demos
  • Collapse Grid View
    • Introduction
    • Expand Data Binding
      • Large Database (Server Mode)
      • Custom Data Binding (Simple)
      • Custom Data Binding (Advanced)
      • Column Binding via Lambdas
      • Live Data
      • Query Builder Control
    • Expand Sorting and Grouping
      • Sorting
      • Grouping
      • Fixed Groups
      • Merging Groups
    • Expand Filtering
      • Search Panel
      • Header Filter
      • Range Header Filter
      • Data Filter Row
      • Filter Control
      • Custom Filter Functions
    • Expand Data Summaries
      • Client Summary Calculation
      • Summaries via Aggregate Functions
      • Sort by Summaries
    • Expand Editing
      • Edit Modes
      • Edit Form Template
      • Edit Form Layout
      • External Edit Form
      • Batch Editing
      • Binary Image Column Editing
      • Cascading Editors
      • Cascading Editors (Batch Editing)
    • Expand Master-Detail
      • Master-Detail
    • Expand Templates
      • Templates
    • Expand Data Export
      • Exporting Data
      • Export Master-Detail Records
      • Excel Data Aware Export
      • Export with Format Conditions
      • Export with Data Cell Bands
    • Collapse Grid Columns
      • Headers Bands
      • Data Cell Bands
      • Column Moving
      • Resizing Columns
      • Text Ellipsis
    • Expand Grid Rows
      • Focused Row
      • Preview Row
      • Conditional Formatting
      • Cell Merging
    • Expand Selection
      • Row Selection
      • Select All Rows
      • Multiple Cell Selection
    • Expand Data Paging and Scrolling
      • Scrolling
      • Paging
      • SEO Friendly Paging
      • Endless Paging
      • Fixed Columns
    • Expand Advanced Lookup
      • Multiple Record Selection
      • Item Template
    • Expand Customization Tools
      • Toolbar
      • Customization Dialog
      • Context Menu
      • Column Chooser
    • Expand Adaptivity
      • Responsive Layout
      • Adaptive Layout
      • Adaptive Layout with Form Layout
    • Expand Accessibility
      • Section 508/WCAG Compliance
      • Section 508/WCAG Editing
      • Keyboard Support
      • Right to Left
      • Localization
  • Diagram
  • Gantt
  • Reporting
  • Charting
  • Pivot Grid
  • Spreadsheet
  • Rich Text Editor
  • Scheduling
  • Tree List
  • Card View
  • Navigation and Layout
  • HTML Editor
  • Vertical Grid
  • Data Editors
  • Dock and Modal Popups
  • File Management and Upload
  • Image and Data Navigation
  • Multi-Use Site Extensions
  • Spell Checker
Version: v2025 vol 1.5 Copyright © 2006-2025 Developer Express Inc Buy Now Free Trial Change Theme Settings
  • Home
  • Grid View
  • Resizing Columns
Change Theme Settings Themes
Show All Themes
Base Color
v
Font
...v
Resizing Columns
Column resizing mode:
v
Resizing visualization:
v
Contact Name
Company Name
City
Region
Country
Maria AndersAlfreds FutterkisteBerlinGermany
Ana TrujilloAna Trujillo Emparedados y heladosMéxico D.F.Mexico
Antonio MorenoAntonio Moreno TaqueríaMéxico D.F.Mexico
Thomas HardyAround the HornLondonUnited Kingdom
Christina BerglundBerglunds snabbköpLuleåSweden
Hanna MoosBlauer See DelikatessenMannheimGermany
Frédérique CiteauxBlondesddsl père et filsStrasbourgFrance
Martín SommerBólido Comidas preparadasMadridSpain
Laurence LebihanBon app'MarseilleFrance
Elizabeth LincolnBottom-Dollar MarketsTsawassenBCCanada
Page 1 of 10 (91 items)Prev12345678910Next
  • <
    • Description
    • Description
    • Model (Northwind)
    • Model (Northwind)
    • Controller
    • Controller
    • Controller (common)
    • Controller (common)
    • View
    • View
    • View (ColumnResizingPartial)
    • View (ColumnResizingPartial)

The DevExpress ASP.NET MVC GridView extension provides complete control over column availability and individual column size. End-users can easily modify column width by resizing the appropriate column header. To resize the column, hover the right border of the column you wish to resize (so that it displays a double-sided arrow), and drag the column border.

You can access all settings related to column resizing using the SettingsResizing property. The SettingsResizing.ColumnResizeMode property specifies how the GridView behaves when an end-user resizes a column. Use the Column resizing mode combo box to see how different property values affect resizing behavior.

The SettingsResizing.Visualization property defines how the column resizing process is visually indicated. Two modes are available.

  • In the Live mode, grid columns are redrawn dynamically during resizing.
  • In the Postponed mode, grid columns are redrawn only after the operation has been completed.
Collapse/Expand Local Copy of this DemoTo inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher). Open CS Solution The source code files for this demo are installed (by default) in the following directory:\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos

Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support). All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee. To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at [email protected] or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.

Từ khóa » Html.grid Mvc Column Width