Import DataView to GridWeb

Importing Data from DataView

Import data from a DataView object using the GridWorsheetCollection’s ImportDataView method in the GridWeb control. Pass the DataView object that you want to import data from to the ImportDataView method. It’s possible to specify column header and data styles during import.

Output: Data imported from a DataView into a new worksheet

todo:image_alt_text

The widths of the columns are adjusted to show all the data they contain. When the data is imported from DataView, column widths are not adjusted automatically. Users need to adjust them by themselves. To adjust the column widths programmatically, refer to Resize Rows and Columns.