ArcGIS 10 TableView: displaying of field aliases in table header

713
2
02-08-2011 05:22 AM
MilanNovak
New Contributor
Hi,

how to set displaying of field aliases in table header programatically?

I filled the aliases for all fields in FieldInfo (put_Alias) and setuped property ShowAliasNamesInColumnHeadings (from ITableView) to true.
But when I try to display TableView I see real field names and I need to switch displaying of aliases manually (button below TableView, menu option "Show Field Aliases").

In ArcGIS 9.3 the aliases were displayed correctly.

I reproduced this in my test standalone application and also in test ArcMap extension.

Thank you for your help.
kroll
(Sorry for my bad English)
0 Kudos
2 Replies
MilanNovak
New Contributor
I solved this problem -function put_ShowAliasNamesInColumnHeadings() should be called after creating and showing of  table view (not before) in ArcMap 10
0 Kudos
JianLiu
New Contributor III
Hi Kroll,

I am struggling with using ITableView on a windows form. I used a picturebox to put ITableView on, but that caused problems with editing on the tableview.

Could you please tell me if your ITableView is on a windows form, and if so how you realize that? It will be much appreciated.

Regards,
Jian
0 Kudos