Home > Back-end >  About cxGrid drag-and-drop functionality
About cxGrid drag-and-drop functionality

Time:09-16

I need to drag a line from the cxGird data to the other controls, after implementation will not be able to drag the column headings to adjust the order of the columns, could you tell me how to solve the under!
The code is as follows:
Void __fastcall Tfrm01: : cxGrdTabV1MouseDown (TObject * Sender,
TMouseButton Button, TShiftState Shift, int X, int Y)
{
If (Button==mbLeft)
{
((TcxGrid *) Sender) - & gt; BeginDrag (false);
GRD="GrdTab";
}

}
  • Related