Main > Knowledge Base > 1C:Enterprise documentation > 1C:Enterprise User Manual > Chapter 5. Forms > Drag-and-drop operations > 1C:Enterprise documentation > 1C:Enterprise User Manual > Chapter 5. Forms > Drag-and-drop operations > 1C:Enterprise documentation > 1C:Enterprise User Manual > Chapter 5. Forms > Drag-and-drop operations

Drag-and-drop operations

The 1C:Enterprise system supports drag-and-drop operations. You can drag data between application fields. For example, you can drag list items between groups, drag data from a table box to a spreadsheet document field, or drag a list of selected files from Microsoft Windows Explorer to a form item.

The following fields support drag-and-drop operations: table box, spreadsheet document field, calendar field, and image field.

The availability of dragging depends on the application design (see the application documentation for details). The following section describes the standard drag-and-drop operations.

For each object, the application design defines whether it can be a source (you can drag from this object) and a target (you can drag to this object).

Dragging is performed using the mouse and is similar to the standard Microsoft Windows method. However, some applications can have extended drag-and-drop options.

The result of a drag-and-drop operation depends on the field type and the source data type.

The table summarizes the default availability settings for drag-and-drop operations.

Target

 

Source

Calendar field

Spreadsheet document field

Table box

Image field

Calendar field

No

Yes

No

No

Spreadsheet document field

No

Yes

No

No

Table box

No

Yes

Yes

No

Image field

No

No

No

No

When you drag an item to a spreadsheet document, the value is converted to its text presentation. Data that has the main presentation defined (for example, the code or description for a catalog) is converted to the main presentation value. For example, data from the calendar field has the Date value type and is converted to a string according to the current regional settings. If value table data is displayed in a table box, the value table row index is added to the spreadsheet document field.

When you drag data within a table box, note that in dynamic lists the order of rows cannot be changed. You can only drag hierarchical data from one group to another.

In a table box containing static data (tabular sections, value tables, value lists, or a value tree), you can change the order of rows.

The following rules apply:

To learn whether an application has custom drag-and-drop features, consult its documentation.

Besides dragging between applications fields, 1C:Enterprise allows you to drag data from third-party applications to application fields. You can drag a text or a file list.

Next page: Saving form values




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.