Switch Field
Last updated
Last updated
Label Field • The first input field allows you to specify the Label of the column. • Enter a meaningful name, such as “Is Enabled” or “Status”, to indicate the purpose of this column. This label will appear as the header for the column in the table view.
Type Field • The second dropdown menu is used to select the Type of data for the column. • Choose Switch to create a column that stores boolean values (true/false), similar to a checkbox, but with a toggle switch representation.
Functionality • The Switch type provides a user-friendly toggle interface for switching between two states, such as On/Off, Enabled/Disabled, or True/False. • For example, it can represent whether a feature is active, a setting is enabled, or an option is available.