Pro SDK TableControl

398
2
08-11-2020 03:29 PM
AlexZlotin1
New Contributor II

I am working on an addin where all data editing in Pro is done through custom forms. We want to display attribute tables but they need to be read-only. The plan therefore is to hide the out-of-the-box Attribute Table functionality and build a custom panel which will display attribute tables using multiple TableControls. We have tested TableControlSample from community samples and it does what we want. The data, both from enterprise and file geodatabases, cannot be edited in the TableControl. That said, the control comes from the Editing namespace which makes us wonder if editing is possible under certain scenarios.

 

Does TableControl always present a read-only view of feature layer or table attributes? If it does allow editing what are the conditions, and is there a way to always prevent editing?

Thanks!

0 Kudos
2 Replies
NarelleChedzey
Esri Contributor

Hi Alex, 

I can confirm that the TableControl currently presents a read-only view of its data.  There is no way in the API to turn editing on in this control. . (as of ArcGIS Pro 2.6)

Regards

Narelle

AlexZlotin1
New Contributor II

Perfect, thanks very much for confirming! This is exactly what we are looking for.

0 Kudos