Databases Reference
In-Depth Information
The row can be edited with one of the pencil-shaped icons (
Edit
) and deleted with
the red icon (
Delete
). The exact form and location of these controls are governed by:
$cfg['PropertiesIconic'] = 'both';
$cfg['ModifyDeleteAtLeft'] = true;
$cfg['ModifyDeleteAtRight'] = false;
We can decide whether to display them on the left side, the right side, or on both
sides. The
$cfg['PropertiesIconic']
parameter can have the values
TRUE
,
FALSE
,
or
both
.
TRUE
displays icons only,
FALSE
displays
Edit
,
Inline
Edit
,
Copy
, and
Delete
(or their translated equivalent) as links, and
both
displays the icon and the
text, as seen in the preceding screenshot.
The small checkbox beside each row is explained in the
Multi-row
editing
and the
Deleting
multiple
rows
sections later in this chapter.
Clicking on the
Edit
icon or link brings the following panel, which is similar to the
data entry panel (except for the lower part):
In this panel, we can change data by typing directly (or by cutting and pasting
via the normal operating system mechanisms). We can also revert to the original
contents using the
Reset
button.
Search WWH ::
Custom Search