Change form layout to dataFormGridLayout
Hi, I am trying to change the layout to dataFormGridLayout as follow but is not working:
`
<gridLayout column="1" row="1">
<radDataForm source={testConfig} metadata={configMetadata} propertyGroup>
<entityProperty name="measureQtd" displayName="Medida" index="2" columnIndex="0">
<propertyEditor type="Number" />
</entityProperty>
<entityProperty name="hdop" displayName="hdop" index="3" columnIndex="0">
<propertyEditor type="Number" />
</entityProperty>
<entityProperty name="tolerance" displayName="Tolerância" index="4" columnIndex="1">
<propertyEditor type="Number" />
</entityProperty>
<entityProperty name="locationRadius" displayName="Raio" index="5" columnIndex="1">
<propertyEditor type="Number" />
</entityProperty>
</propertyGroup>
</radDataForm>
</gridLayout>
<flexboxLayout row="2" colSpan=2>
<Button btTitle="SALVAR CONFIGURAÇÕES" btEnabled onclick={onTapAsConfirmButton} />
</flexboxLayout>
`
sorry, fixing the text
<gridLayout row="1">
<radDataForm source={testConfig} metadata={configMetadata} propertyGroup>
<propertyGroup >
<propertyGroup.layout>
<dataFormGridLayout />
</propertyGroup.layout>
<entityProperty name="constructionName" hidden="true">
</entityProperty>
<entityProperty name="constructionType" hidden="true">
</entityProperty>
<entityProperty name="heigthStick" hidden="true">
</entityProperty>
<entityProperty name="precision" displayName="Precisão" index="0" columnIndex="0">
<propertyEditor type="Number" />
</entityProperty>
<entityProperty name="hdop" displayName="hdop" index="3" columnIndex="0">
<propertyEditor type="Number" />
</entityProperty>
<entityProperty name="tolerance" displayName="Tolerância" index="4" columnIndex="1">
<propertyEditor type="Number" />
</entityProperty>
<entityProperty name="vdop" displayName="VDOP" index="6" columnIndex="1">
<propertyEditor type="Number" />
</entityProperty>
</propertyGroup>
</radDataForm>
or like this:
<radDataForm source={testConfig} metadata={configMetadata}>
<propertyGroup layout="dataFormGridLayout" >
<entityProperty name="constructionName" hidden="true">
</entityProperty>
Which part isn't working? is it crashing? or just ignoring the changes? what is the debug output?
Hello @halfnelson sorry for not entering a complete description/result:
below the result for both situations:
<radDataForm source={testConfig} metadata={configMetadata}> <propertyGroup layout="dataFormGridLayout" >
<propertyGroup > <propertyGroup.layout> <dataFormGridLayout /> </propertyGroup.layout>
- is showing as list
