Disable or Removing deleteButton from AttributeInspector

922
10
02-20-2014 02:54 AM
shabbirsiddiqui2
New Contributor III
Hi,

I am using Edit Widget, I need to disable or remove the deleteButton from the AttributeInspector which its showing the records of

relationship table.

I tried to do the changes here but no luck.

<esri:AttributeInspector id="attributeInspector"
                                 width="100%" height="100%"
                                 deleteButtonLabel.addingNewRecord="{resourceManager.getString('ESRIMessages', 'relationshipInspectorCancel')}"
                                 deleteButtonVisible="false"
                                 excludeFrom="queryRelatedRecords,noRelationships,noRelatedRecords"
                                 okButtonLabel.addingNewRecord="{resourceManager.getString('ESRIMessages', 'relationshipInspectorAdd')}"
                                 okButtonVisible="{hostComponent.editEnabled}"
                                 skinClass="com.esri.ags.skins.RelationshipInspectorAttributeInspectorSkin"
                                 updateEnabled="{hostComponent.editEnabled &amp;&amp; hostComponent.featureLayer.isEditable}"/>


Any Idea how can i do it.

Thanks and Regards,
Siddiqui
Tags (2)
0 Kudos
10 Replies
shabbirsiddiqui2
New Contributor III
Dear Rober,

Please try to look into this issue once again i tried to follow all yours instruction but the delete button is still visible there is no any effect on it.

Thanks.

Dear Robert,

I tried this before but it was not working so i posted this issue in the forum to get the solution.



Thanks,
siddiqui
0 Kudos