It turns out that FieldPickerWindow has some default logic that overrides your isModal setting - see the doc for FieldPickerWindow.setAutoDismiss() - if you switch that off, as well as setting isModal to true, you'll see your modalMask.
Announcement
Collapse
No announcement yet.
X
-
okay thanks! This helped... this code is working now:
Code:FieldPickerWindow properties = new FieldPickerWindow(); properties.setShowShadow( false ); properties.setIsModal( true ); properties.setShowModalMask( true ); properties.setModalMaskOpacity( 50 ); properties.setAutoDismiss( false ); listGrid.setAutoChildProperties( "fieldPickerWindow", properties ); listGrid.editFields();
But the multigroup dialog does not work yet:
Code:MultiGroupDialog properties = new MultiGroupDialog(); properties.setShowShadow( false ); properties.setIsModal( true ); properties.setShowModalMask( true ); properties.setModalMaskOpacity( 50 ); listGrid.setAutoChildProperties( "multiGroupDialog", properties ); listGrid.configureGrouping();
Code:Dialog properties = new Dialog(); properties.setShowShadow( false ); properties.setIsModal( true ); properties.setShowModalMask( true ); properties.setModalMaskOpacity( 50 ); listGrid.setAutoChildProperties( "hiliteEditor", properties ); listGrid.editHilites();
Comment
-
As we already noted, you want "hiliteWindow", not hiliteEditor.
And changes were made in the last few days to have MultiGroupDialog work in the latest version - but it works in the same way as MultiSortDialog - you need to seMultiGroupDialogProperties() - we'll port this change today, so you'll be able to affect MultiGroupDialog as of tomorrow's builds.Last edited by Isomorphic; 16 Aug 2017, 00:21.
Comment
Comment