Uses of Class
net.pricefx.formulaengine.scripting.inputbuilder.ConfiguratorTableInputBuilder
-
Uses of ConfiguratorTableInputBuilder in net.pricefx.formulaengine.scripting.inputbuilder
Modifier and TypeMethodDescriptionInputBuilderFactory.createConfiguratorTable
(String paramName) Creates a table (InputType.CONFIGURATORTABLE
) where a user can add rows using the modal dialog (the pop-up Configurator).ConfiguratorTableInputBuilder.setColumns
(List<Map> columns) Adds specified columns to the Configurator table.ConfiguratorTableInputBuilder.setDefaultHeight
(int value) Sets the maximum table height.ConfiguratorTableInputBuilder.setDimensions
(String width, String height) Sets particular dimensions of the modal dialog (Configurator) that is opened when a user clicks the Add button below the ConfiguratorTable.ConfiguratorTableInputBuilder.setEnableAdvancedFilter
(boolean enableAdvancedFilter) Allows you to enable or disable the advanced filter functionality.ConfiguratorTableInputBuilder.setEnableClientFilter
(boolean enableClientFilter) Allows a user to filter the table by row values.
Default =true
(the filtering is enabled).ConfiguratorTableInputBuilder.setFitFieldWidths
(boolean value) Sets whether fields (table cells) should autofit widths to title texts or the content.ConfiguratorTableInputBuilder.setFixTableHeight
(boolean value) ConfiguratorTableInputBuilder.withEnableAddActions
(boolean enableAddActions) Allows you to disable adding new rows to a table within a Configurator – the 'Add' button will be hidden whenenableAddActions
is set tofalse
.ConfiguratorTableInputBuilder.withEnableAdvancedFilter
(boolean enableAdvancedFilter) Allows you to enable or disable the advanced filter functionality.ConfiguratorTableInputBuilder.withEnableClientFilter
(boolean enableClientFilter) Allows a user to filter the table by row values.
Default =true
(the filtering is enabled).ConfiguratorTableInputBuilder.withEnableDeleteActions
(boolean enableDeleteActions) Allows a user to delete table rows.
Default =true
(deleting is enabled).ConfiguratorTableInputBuilder.withEnableDuplicateActions
(boolean enableDuplicateActions) Allows a user to duplicate table rows.
Default =true
(duplicating a row is enabled).ConfiguratorTableInputBuilder.withEnableEditActions
(boolean enableEditActions) Allows a user to edit values in the table.
Default =true
(the editing is enabled).ConfiguratorTableInputBuilder.withPreferenceName
(String preferenceName) Defines the preference name (whitespace and non-alphanumeric will be dropped).ConfiguratorTableInputBuilder.withRowTypes
(List<Object> rowTypes) Specifies row types that can be added to the ConfiguratorTable when a user clicks the 'Add' button to add a row.
Row types are specified by a list of maps, where each map contains thelabel
andurl
parameters.