Create Table Dialog

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

DXSpreadsheet_Dialogs_CreateTable

Add the Tables ribbon page to enable the Table button, which invokes this dialog. Check the Lesson 1 - Create a Simple Spreadsheet topic for a demonstration on how to provide a Ribbon UI for the SpreadsheetControl.

DXSpreadsheet_Dialogs_CreateTable_InvokeFromRibbon

TIP

Use the TableCollection.Add method to programmatically insert a table and add it to the worksheet's collection of tables accessible using the Worksheet.Tables property. Specify the style to be applied to the table by setting the Table.Style property. Refer to the How to: Create a Table topic for details on how to create a table and apply a specific table style.

See Also