@page "/datagrid-rowdragbetween"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    Drag and drop rows between two DataGrids
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Use <code>RowRender</code> event to add custom logic for drag and drop rows between two DataGrid components.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo two side-by-side <strong>Employee</strong> grids (source starts with all employees, target starts empty) use <code>RowRender</code> with drag events and <code>ObservableCollection</code> to move employees between grids by dragging rows across boundaries.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridRowDragBetween">
    <DataGridRowDragBetween />
</RadzenExample>
