Detach Method (GridControl)

Detaches a model from the grid control.
Public Function Detach() As GridModel
Dim instance As GridControl
Dim value As GridModel
value = instance.Detach()
public GridModel Detach()

Return Value

The grid model.
The GridModel can be attached and replaced with another object at run-time. The GridControl class will remove any dependencies on the old model and set up a relationship with the new model.

When you replace the model, the grid control will completely refresh and draw the new cell data.


Syncfusion.Grid.Windows: 18.2460.0.44

See Also