BCGSuite for MFC
virtual BOOL CBCGPDBGridCtrl::CanSortByColumn ( int  nColumn)
pure virtual

Tells whether the grid data can be sorted by the specified column.

Returns
TRUE, if the grid control data can be sorted by the specified column; otherwise FALSE.

The grid control calls this method to determine whether the specified column can be sorted. You should return FALSE if the column displays any non-sortable data like a BLOB. You can return FALSE for any column that should not be sorted.

Parameters
nColumnA zero-based index of a column.