Inline Edit
The data table has a number of methods to help you edit the data directly in the table.
Note: For each column edit setting, you need to have a corresponding field in the form.
Editable
With the editable
method, you can click on the data in the table and edit the saved data in the pop-up dialog box.
Text input
Textarea input
Select
The second parameter is the option selected by select
Date selection
Date and time selection
Year selection
Month selection
Day selection
Switch
Note: In the
grid
, set aswitch
for a field, and you need to set the sameswitch
for the field inform
.
Quickly turn the column into a switch component, using the following:
Switch group
Note:
switch
is set for some fields ingrid
, and the sameswitch
should be set for these fields inform
.
Quickly turn the column into a switch component group, using the following:
Radio
Set the column to the radio
component and set the same radio
for these fields in the form
method.
Checkbox
Set this column to the checkbox
component and also set the same checkbox
for these fields in the form
method.
Last updated