GridTableView Methods |
The GridTableView type exposes the following members.
Name | Description | |
---|---|---|
![]() |
ClearEditItems |
Removes all edit items that belong to the GridTableView
instance.
|
![]() |
ClearSelectedItems |
Removes all selected items that belong to this GridTableView
instance.
|
![]() |
DataBind |
Binds the data source to the KaxGrid instance. (Overrides BaseDataBoundControlDataBind.) |
![]() |
ExportToCSV |
Exports the grid data in CSV format using the properties set in the ExportSettings.
|
![]() |
ExportToExcel |
Exports the grid data in Microsoft Excel � format using the properties set in the ExportSettings.
|
![]() |
ExportToPdf |
Exports the grid data in PDF format using the properties set in the ExportSettings.
|
![]() |
ExportToWord |
Exports the grid data in Microsoft Word � format based on the selected ExportSettings.
|
![]() |
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.
|
![]() |
FindItemByKeyValue | |
![]() |
FindItemsByKeyValues | |
![]() |
GetColumn |
Returns a GridColumn based on its
UniqueName.
|
![]() |
GetColumnSafe |
Returns a GridColumn based on its
UniqueName.
|
![]() |
GetInsertItem |
Get the item that appears when grid is in Insert Mode.
|
![]() |
GetItems | |
![]() |
GetSelectedItems | |
![]() |
HasAggregates | |
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
PerformDelete(GridEditableItem, Boolean) |
Perform delete operation, using the DataSourceControl API. Please make sure you have specified the correct DataKeyNames for the GridTableView.
|
![]() |
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.
|
![]() |
PerformInsert(GridEditableItem) |
Performs asynchronous insert operation, using the DataSourceControl API, then
Rebinds. When the asynchronous operation calls back, KaxGrid will fire
ItemInserted event.
|
![]() |
PerformInsert(GridEditableItem, Boolean) |
Perform asynchronous insert operation, using the DataSource control API.
When the asynchronous operation calls back, KaxGrid will fire ItemInserted event.
|
![]() |
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.
|
![]() |
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.
|
![]() |
Rebind |
Forces the Owner KaxGrid to fire
NeedDataSource event then calls
DataBind.
|
![]() |
SwapColumns(Int32, Int32) |
Swaps columns appearance position using order indexes of the two columns.
|
![]() |
SwapColumns(String, String) |
Swaps columns appearance position using the unique names of the two
columns.
|
![]() |
SwapColumns(GridColumn, GridColumn) |