Define Columns in Angular Data Grid.

Define columns

Users can define the needed columns explicitly in a Data Grid. Enhance the appearance of columns by setting the header text, text alignment, cell value format, and width.


Auto generate columns

Generate column definitions automatically from the data source when a column collection is not configured. Automatic column generation is suitable for grids that derive their initial column structure directly from bound data.

Auto generate columns in Angular Data Grid.


AutoFit columns width in Angular Data Grid.

AutoFit columns width

Users can interactively auto-size column widths to show their full content by double-clicking on column borders. Data Grid supports programmatically auto-sizing columns. The Autofit feature displays columns based on their defined width. If the total column width is less than the grid width, white space will appear instead of columns auto-adjusting to fill the grid.


Cell attributes

Users can decorate each cell element of the Data Grid with their own attributes by customizing styles, adding additional class names, and more.

Cell Attributes in Angular Data Grid.


Text wrap using in Angular Data Grid.

Text wrap

Wrap header or content text onto multiple lines when it exceeds the available cell width. Text wrapping is suitable for columns that require longer values to remain visible within the configured column width.


Column chooser

The column chooser provides a list of column names paired with check boxes, allowing users to toggle visibility on the fly. This helps users control column visibility through an interactive UI.

Choose visible columns using column chooser in Angular Data Grid.


Reorder columns in Angular Data Grid.

Reorder columns

Reorder columns through drag-and-drop interaction or programmatically. Column reordering is suitable for grids that require the displayed column sequence to be changed at runtime.


Resize

Column resize allows changing the column width on the fly by simply dragging the right corner of the column header. A scroll bar appears when the Data Grid content width exceeds the element width.

Resize column width in the Angular Data Grid.


Column menu in Angular Data Grid.

Column menu

Perform supported column actions through the built-in column menu and customize the menu items that are displayed. Column menu configuration is suitable for grids that require column-specific commands to be available from the header.


Column spanning

Span adjacent cells based on defined row or column criteria. Cell spanning is suitable for grid layouts that require related values to occupy multiple neighboring cells.

Cell spanning in Angular Data Grid.


Foreign key column with look-up data in Angular Data Grid.

Foreign key column

Display values from an external or lookup data source by mapping foreign key fields to corresponding display values. Foreign key columns support applicable Data Grid operations such as sorting, filtering, editing, and grouping on lookup-based data.


Value accessors

The value accessors specify how the cell value is to be retrieved from the data. The preferred value accessors can be used when the row data is not just a simple object.

Custom value getter using value accessor in Angular Data Grid.


Cell styling in Angular Data Grid.

Cell styling

Customize Data Grid cell styles programmatically or with CSS. Cell styling is suitable for grids that require visual formatting based on application-defined conditions or presentation requirements.


Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories

140+ ANGULAR UI COMPONENTS

Scroll up icon
Syncfusion Feedback