Back to Devexpress

Create Table Dialog

windowsforms-16702-controls-and-libraries-spreadsheet-visual-elements-dialogs-create-table-dialog.md

latest1.3 KB
Original Source

Create Table Dialog

  • Jul 25, 2021

The Create Table dialog allows users to insert a new table or convert an existing data range into a table. In the dialog box, a user can select a cell range to include in the table and specify whether the table has headers.

You can do the following to allow your users to invoke the Create Table dialog:

  • Create the Tables group on the Insert ribbon tab.

  • Create the Styles group on the Home ribbon tab.

Refer to the following topic for information on how to create a ribbon UI for the Spreadsheet control: Get Started with the WinForms Spreadsheet Control.

Use the TableCollection.Add method to create a table programmatically and add it to a worksheet’s table collection (Worksheet.Tables). The Table.Style property allows you to apply a style to the table. Refer to the following topic for details on how to create and format tables: Spreadsheet Tables.