Hi!
I have generated a matrix with XML.
How can I remove the columns?
I can add columns via XML, but cannot remove..
After running SBOApp.LoadBatchActions(ref tmpStr);
function SBOApp.GetLastBatchResults(); returns no errors.
MyForm.Refresh(); doesn't help too 😔
To remove columns I use:
<Application>
<forms>
<action type="update">
<form uid="MyForm">
<items>
<action type="update">
<item uid="matrix1" type="127" left="62" tab_order="0" width="599" top="48" height="359" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="0" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute/>
<specific SelectionMode="0" layout="0" titleHeight="20" cellHeight="16">
<columns>
<action type="remove">
<column uid="V_-1" type="16" title="###" description="" visible="1" AffectsFormMode="1" width="20" disp_desc="0" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1"><databind databound="0" table="" alias=""/>
<ExtendedObject/>
</column>
<column uid="V_1" type="16" title="title1" description="" visible="1" AffectsFormMode="1" width="40" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1"><databind databound="0" table="" alias=""/>
<ExtendedObject/>
</column>
</action>
</columns>
</specific>
</item>
</action>
</items>
</form>
</action>
</forms>
</Application>
Thanx!
David