The <data status> element includes the pasteBelowOrAbove="true" attribute/ value, and the <item> element includes the data about the object to be pasted including the pasteAboveToRow or pasteBelowToRow attribute with the row data. For example: <mxRoot> <action> <![CDATA[refresh]]> </action> <data status="committed" pasteBelowOrAbove="true">
<item oid="30536.59499.40784.21329"
relId="30536.59499.40784.14515" pid="30536.59499.60784.65279"
pasteAboveToRow="0,0" />
</data> </mxRoot> The pasted row can be set as editable or non-editable by adding the RowEditable (values of true or false) attribute to the <item> element as shown here: <mxRoot> <action> <![CDATA[refresh]]> </action> <data status=" committed " pasteBelowOrAbove="true">
<item RowEditable="false" oid="30536.59499.40784.21329" relId="30536.59499.40784.14515" pid="30536.59499.60784.65279" pasteBelowToRow="0,0" /> </data> </mxRoot> </mxRoot> You can paste a row as the child of the selected row in committed or pending mode (defined by the data status element): <mxRoot> <action>add</action> <data status='pending' fromRMB='false'>
<item oid='43472.32595.47845.16772' relType='relationship_SBOrdersToLineItems' relId='' pid='40712.19048.41410.33' direction='from'> <column name='Description'>Description 00</column> </item> </data> </mxRoot> |