@model IEnumerable<FlexGridData.Sale>

<h1>
    Drop Target Control
</h1>
<p>
    Column's <b>allowDragging</b> property provides
    control over the drag source (which columns may be
    dragged into new positions).
</p>
<p>
    You can get control over the drop target (column's
    new position) by handling the <b>dragingColumnOver</b>
    event and setting the event's <b>cancel</b> parameter
    to true if the current source/target combination is
    invalid.
</p>
<p>
    For example, the grid below does not allow dragging
    the 'country' column to the last or the first positions:
</p>
@Html.C1().FlexGrid().Id("theGrid").Bind(Model)