Objective Grid: Changing the label of column headers

Article ID: 183
Last updated: 04 Jun, 2018
Article ID: 183
Last updated: 04 Jun, 2018
Revision: 3
Views: 1536
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 04 Jun, 2018
by Meltreger B.

Problem


How do you change the label of column headers. For example, instead of A B C D... I want 1 2 3 4...


Cause



Action


You should override GetStyleRowCol() and check for nRow = 0 and nType == 0 and then call style.SetValue(nCol);

This article was:   Helpful | Not helpful
Report an issue
Article ID: 183
Last updated: 04 Jun, 2018
Revision: 3
Views: 1536
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 04 Jun, 2018 by Meltreger B.

Others in this category