Objective Grid: Disabling column resizing

Article ID: 59
Last updated: 16 Apr, 2018
Article ID: 59
Last updated: 16 Apr, 2018
Revision: 3
Views: 2136
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


How do I turn off resizing of column widths? In other words, I don't want the end-user to be able to resize the grid by grabbing the 'handles' in the column headers.


Cause



Action


You should call:

GetParam( )->EnableTrackColWidth(0);

If you want to disable resizing only certain columns, you should override OnTrackColWidth(nCol) and return FALSE.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 59
Last updated: 16 Apr, 2018
Revision: 3
Views: 2136
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category