Dear Team,
We are using smartgwt 6.1 version, when we are trying to hide file upload field for certain scenarios from the form. It is not working. Please suggest how to hide the formField of type "binary".
Here is my logic
String[] recordArray = invisibleFields.split( "," );
if( recordArray != null && recordArray.length > 0 )
{
for ( int i = 0; i < recordArray.length; i++ )
{
FormItem formItem = crimsonDynaForm.getField( recordArray[i] );
if(FieldType.BINARY.equals(formItem.getType())) {
formItem.setVisible( false );
}
}
}
We are using smartgwt 6.1 version, when we are trying to hide file upload field for certain scenarios from the form. It is not working. Please suggest how to hide the formField of type "binary".
Here is my logic
String[] recordArray = invisibleFields.split( "," );
if( recordArray != null && recordArray.length > 0 )
{
for ( int i = 0; i < recordArray.length; i++ )
{
FormItem formItem = crimsonDynaForm.getField( recordArray[i] );
if(FieldType.BINARY.equals(formItem.getType())) {
formItem.setVisible( false );
}
}
}
Comment