How do I turn dragging rows or columns off?


                                            

You should call

GetParam()->EnableMoveCols(FALSE) 
GetParam()->EnableMoveRows(FALSE)