NV Elements Catalog Starters Repo System Themes About Getting Started Changelog Metrics Support Accessibility Contributions Requests Migration Integrations Installation MCP CLI Lint Angular Bundles Extensions Golang Hugo Import Maps Lit NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue Foundations Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drawer Dropdown Dropdown Group Dropzone File Format Datetime Format Number Format Relative Time Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month Notification Page Page Header Page Loader Pagination Panel Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Data Grid Column Alignment

stable:  0.1.1 Coverage: 100.00% Bundle: 23.07kb Lighthouse: 97 Axe Core Released: 0.11.0
Overview API Examples

A versatile table/datagrid component with built-in keyboard navigation for displaying and interacting with structured data. Use it for anything from simple read-only tables to fully interactive, spreadsheet experiences.


    

Control the content alignment within a given column.

ColumnAlign Description start center end

Column Align Center

Center-aligned column content for improved visual balance and data presentation, enhancing readability for numeric and centered data types.

column 0column 1column 2column 3column 4 cell 0-0cell 0-1cell 0-2cell 0-3cell 0-4 cell 1-0cell 1-1cell 1-2cell 1-3cell 1-4 cell 2-0cell 2-1cell 2-2cell 2-3cell 2-4 cell 3-0cell 3-1cell 3-2cell 3-3cell 3-4 cell 4-0cell 4-1cell 4-2cell 4-3cell 4-4 cell 5-0cell 5-1cell 5-2cell 5-3cell 5-4 cell 6-0cell 6-1cell 6-2cell 6-3cell 6-4 cell 7-0cell 7-1cell 7-2cell 7-3cell 7-4 cell 8-0cell 8-1cell 8-2cell 8-3cell 8-4 cell 9-0cell 9-1cell 9-2cell 9-3cell 9-4

Column Align End

Right-aligned column content for numeric data and values, providing consistent visual alignment and improved data scanning for financial or metric displays.

column 0column 1column 2column 3column 4 cell 0-0cell 0-1cell 0-2cell 0-3cell 0-4 cell 1-0cell 1-1cell 1-2cell 1-3cell 1-4 cell 2-0cell 2-1cell 2-2cell 2-3cell 2-4 cell 3-0cell 3-1cell 3-2cell 3-3cell 3-4 cell 4-0cell 4-1cell 4-2cell 4-3cell 4-4 cell 5-0cell 5-1cell 5-2cell 5-3cell 5-4 cell 6-0cell 6-1cell 6-2cell 6-3cell 6-4 cell 7-0cell 7-1cell 7-2cell 7-3cell 7-4 cell 8-0cell 8-1cell 8-2cell 8-3cell 8-4 cell 9-0cell 9-1cell 9-2cell 9-3cell 9-4

Column Align Start

Left-aligned column content for text data and labels, providing consistent visual alignment and improved readability for textual information.

column 0column 1column 2column 3column 4 cell 0-0cell 0-1cell 0-2cell 0-3cell 0-4 cell 1-0cell 1-1cell 1-2cell 1-3cell 1-4 cell 2-0cell 2-1cell 2-2cell 2-3cell 2-4 cell 3-0cell 3-1cell 3-2cell 3-3cell 3-4 cell 4-0cell 4-1cell 4-2cell 4-3cell 4-4 cell 5-0cell 5-1cell 5-2cell 5-3cell 5-4 cell 6-0cell 6-1cell 6-2cell 6-3cell 6-4 cell 7-0cell 7-1cell 7-2cell 7-3cell 7-4 cell 8-0cell 8-1cell 8-2cell 8-3cell 8-4 cell 9-0cell 9-1cell 9-2cell 9-3cell 9-4