We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Define Columns in Vue DataGrid.

Define columns

You can define the needed columns explicitly in a DataGrid. You can also enhance the appearance of columns by setting the header text, text alignment, cell value format, and width.

Auto generate columns

When the column collection is not specified, DataGrid will create columns’ definition for the users by creating column object from the data source.

Auto generate columns in Vue DataGrid.

Auto size in Vue DataGrid.

Auto size

Users can interactively auto size column width to show its full content by double clicking on column borders. Vue DataGrid also supports triggering auto sizing to the required columns programmatically.

Cell attributes

Users can decorate each cell element of the DataGrid with their own attributes by customizing styles, adding additional class names, etc.

Cell Attributes in Vue DataGrid.

Text wrap using in Vue DataGrid.

Text wrap

Wraps the DataGrid cell text to the next line when it is too large to fit a cell. Users can wrap the header or content cell`s text by setting the available wrap mode options.

Column chooser

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

Choose visible columns using column chooser in Vue DataGrid.

Reorder columns in Vue DataGrid.


Reorder DataGrid columns either through user interaction or programmatically. Simply dragging a column header to the desired column position will reorder the columns of a DataGrid.


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 DataGrid content width exceeds the element width.

Resize column width in the Vue DataGrid.

Column menu in Vue DataGrid.

Column menu

Allows performing various column-based actions with the help of DataGrid column menu. Menu items can also be customized to list only the preferred actions.

Column spanning

Span the adjacent DataGrid cells based on the preferred criteria.

Cell spanning in Vue DataGrid.

Foreign key column with look-up data in Vue DataGrid.

Foreign key column

It is possible to show values from external or lookup data sources in a column based on foreign key/value name. Allows all DataGrid actions like sorting, filtering, editing, grouping, and other operations in the foreign data column.

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 Vue DataGrid.

Cell styling in Vue DataGrid.

Cell styling

Vue DataGrid supports customization of cell styles programmatically or by using CSS.


Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon