Click or drag to resize
GridTableView Methods

The GridTableView type exposes the following members.

Methods
  Name Description
Public method ClearEditItems
Removes all edit items that belong to the GridTableView instance.
Public method ClearSelectedItems
Removes all selected items that belong to this GridTableView instance.
Public method DataBind
Binds the data source to the KaxGrid instance.
(Overrides BaseDataBoundControlDataBind.)
Public method ExportToCSV
Exports the grid data in CSV format using the properties set in the ExportSettings.
Public method ExportToExcel
Exports the grid data in Microsoft Excel � format using the properties set in the ExportSettings.
Public method ExportToPdf
Exports the grid data in PDF format using the properties set in the ExportSettings.
Public method ExportToWord
Exports the grid data in Microsoft Word � format based on the selected ExportSettings.
Public method ExtractValuesFromItem
The passed IDictionary object (like Hashtable for example) will be filled with the names/values of the corresponding column data-fields and their values. Only instances of type GridEditableColumn support extracting values.
Public method FindItemByKeyValue
Public method FindItemsByKeyValues
Public method GetColumn
Returns a GridColumn based on its UniqueName.
Public method GetColumnSafe
Returns a GridColumn based on its UniqueName.
Public method GetInsertItem
Get the item that appears when grid is in Insert Mode.
Public method GetItems
Returns a collection of GridItem objects based on their ItemType.
Public method GetSelectedItems
Public method HasAggregates
Public method InsertItem
Places the GridTableView in insert mode, allowing user to insert a new data-item values. The CurrentPageIndex will be set to display the last page. You can use also the IsItemInserted to place the GridTableView in insert mode.
Public method InsertItem(IDictionary)
Places the GridTableView in insert mode, allowing the user to insert a new data-item values. The GridInsertItem created will be bound to values found in newValues dictionary; The CurrentPageIndex will be set to display the last page. You can use also the IsItemInserted to place the GridTableView in insert mode.
Public method InsertItem(Object)
Places the GridTableView in insert mode, allowing the user to insert a new data-item values. The GridInsertItem created will be bound to values of the newDataItem object. The CurrentPageIndex will be set to display the last page. You can use also the IsItemInserted property to place the GridTableView in insert mode.
Public method PerformDelete(GridEditableItem)
Perform asynchronous delete operation, using the DataSourceControl API the Rebinds the grid. Please make sure you have specified the correct DataKeyNames for the GridTableView. When the asynchronous operation calls back, KaxGrid will fire ItemDeleted event.
Public method PerformDelete(GridEditableItem, Boolean)
Perform delete operation, using the DataSourceControl API. Please make sure you have specified the correct DataKeyNames for the GridTableView.
Public method PerformInsert
Perform asynchronous insert of the new item, diplayed by KaxGrid when in edit mode, using the DataSourceControl API, then Rebind. When the asynchronous operation calls back, KaxGrid will fire ItemInserted event.
Public method PerformInsert(GridEditableItem)
Performs asynchronous insert operation, using the DataSourceControl API, then Rebinds. When the asynchronous operation calls back, KaxGrid will fire ItemInserted event.
Public method PerformInsert(GridEditableItem, Boolean)
Perform asynchronous insert operation, using the DataSource control API. When the asynchronous operation calls back, KaxGrid will fire ItemInserted event.
Public method PerformUpdate(GridEditableItem)
Perform asynchronous update operation, using the DataSource control API and the Rebind method. Please, make sure you have specified the correct DataKeyNames for the GridTableView. When the asynchronous operation calls back, KaxGrid will fire ItemUpdated event.
Public method PerformUpdate(GridEditableItem, Boolean)
Perform asynchronous update operation, using the DataSource control API. Please make sure you have specified the correct DataKeyNames for the GridTableView. When the asynchronous operation calls back, KaxGrid will fire ItemUpdated event. The boolean property defines if KaxGrid will Rebind after the update.
Public method Rebind
Public method SwapColumns(Int32, Int32)
Swaps columns appearance position using order indexes of the two columns.
Public method SwapColumns(String, String)
Swaps columns appearance position using the unique names of the two columns.
Public method SwapColumns(GridColumn, GridColumn)
Top
See Also