\begin{verbatim}
enum wxDataViewColumnFlags
{
- wxDATAVIEW_COL_RESIZABLE = 1, // the user can resize the column
- wxDATAVIEW_COL_SORTABLE = 2, // same as SetSortable()
- wxDATAVIEW_COL_HIDDEN = 4 // column is hidden
+ wxDATAVIEW_COL_RESIZABLE = 1, // the user can resize the column
+ wxDATAVIEW_COL_SORTABLE = 2, // same as SetSortable()
+ wxDATAVIEW_COL_REORDERABLE = 4, // column can be reordered
+ wxDATAVIEW_COL_HIDDEN = 8 // column is hidden
};
\end{verbatim}
}
See also \helpref{wxDataViewRenderer}{wxdataviewrenderer}.
+\membersection{wxDataViewColumn::GetReorderable}\label{wxdataviewcolumngetreorderable}
+
+\func{bool}{GetReorderable}{\void}
+
+Returns true if the column is reorderable.
+
\membersection{wxDataViewColumn::GetSortable}\label{wxdataviewcolumngetsortable}
\func{bool}{GetSortable}{\void}
Set the bitmap of the column header.
+\membersection{wxDataViewColumn::SetReorderable}\label{wxdataviewcolumnsetreorderable}
+
+\func{void}{SetReorderable}{\param{bool }{reorderable}}
+
+Indicate wether the column can be reordered by the
+user using the mouse. This is typically implemented
+visually by dragging the header button around.
+
\membersection{wxDataViewColumn::SetSortOrder}\label{wxdataviewcolumnsetsortorder}
\func{void}{SetSortOrder}{\param{bool }{ascending}}