How do I set the display text of the column names in the column chooser.
Example I have a datatable with 3 columns
CarID, CarMake, OwnerName.
To set the Column header test to be more user friendly I would set the HeaderText property of the GridViewColumn.
gvc1.HeaderText = "Car ID";
gvc1.HeaderText = "Car Make";
gvc1.HeaderText = "Owners Name";
This updates the Column headers fine. But if I hide the column and retrieve it using the column chooser the names in the text displayed to the user are the column names. (IE without the spaces).
Is there anyway to set the text in the column chooser just like the HeaderText property.
Example I have a datatable with 3 columns
CarID, CarMake, OwnerName.
To set the Column header test to be more user friendly I would set the HeaderText property of the GridViewColumn.
gvc1.HeaderText = "Car ID";
gvc1.HeaderText = "Car Make";
gvc1.HeaderText = "Owners Name";
This updates the Column headers fine. But if I hide the column and retrieve it using the column chooser the names in the text displayed to the user are the column names. (IE without the spaces).
Is there anyway to set the text in the column chooser just like the HeaderText property.