Hi, I understand how to display a features attributes using the inspector class. However, I dont know how to display only a few attributes fields instead of ALL of them.
Can anyone point me in the right direction?
Thanks!
Hide columns in a table—ArcGIS Pro | Documentation ?
is this what you are referring to?
It does look like the Inspector class honors the 'Visible' setting (see Dan's reference above) and hides the attribute column if the 'Visible' checkbox is unchecked. I implemented an attribute control in my 'Show Attributes' dockpane and changed the 'Visible' checkbox state. Below the 'Visible' is off and you can see that the 'Description' column is not displayed:
Next i checked the 'visible' checkbox and the attribute column appeared:
Hi,
You can find how to show/hide attribute fields using code here:
Did you ever figure this out? I know one can change the visibility at the layer level which changes the table as well. Did you determine if it's possible to only alter the feature inspector itself?