Skip to main content

Эта версия GitHub Enterprise Server была прекращена 2024-09-25. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Настройка макета таблицы

Макет таблицы можно использовать для создания электронной таблицы с помощью элементов проекта, GitHub метаданных и настраиваемых полей.

About the table layout

The table layout is a powerful and adaptable spreadsheet comprised of your issues, pull requests, and draft issues with metadata from GitHub and the custom fields you've added to your project. You can group, sort, and filter items, and show or hide fields in your table layouts to suit the needs of everyone on your team.

For more information about changing a view to use the table layout, see "Changing the layout of a view."

Showing and hiding fields

You can show or hide a specific field.

  1. Click next to the name of the currently open view.

    Screenshot showing the tabs at the top of a project. The view menu icon is highlighted with an orange outline.

  2. Under "Configuration", click Fields.

  3. Select or deselect the fields you want to show or hide.

You can also hide individual fields using the field headers.

  1. Next to the field you want to hide, click .
    Screenshot showing a field header. The menu icon is highlighted with an orange outline.
  2. Click Hide field.

Grouping by field values

You can group items by a custom field value. When items are grouped, if you drag an item to a new group, the value of that group is applied. For example, if you group by "Status" and then drag an item with a status of In progress to the Done group, the status of the item will switch to Done. Similarly, when you add a new item to a group, the new item is populated with the value of the group.

Note: You cannot group by title, labels, reviewers, or linked pull requests.

  1. Click next to the name of the currently open view.

    Screenshot showing the tabs at the top of a project. The view menu icon is highlighted with an orange outline.

  2. Click Group by.

  3. Click the field you want to group by.

  4. Optionally, to disable grouping, click No grouping at the bottom of the list.

Reordering fields

You can change the order of fields.

  1. Click the field header.

    Screenshot showing three field headers. One of the headers is highlighted with an orange outline.

  2. While continuing to click, drag the field to the required location.

Reordering rows

You can change the order of rows.

  1. Click the number at the start of the row.

    Screenshot showing three rows on a table layout. One of the row numbers is highlighted with an orange outline.

  2. While continuing to click, drag the row to the required location.

Sorting by field values

You can sort items by a field value.

  1. Click next to the name of the currently open view.

    Screenshot showing the tabs at the top of a project. The view menu icon is highlighted with an orange outline.

  2. Click Sort.

  3. Click the field you want to sort by.

  4. Optionally, to change the direction of the sort, click the field again.

    Screenshot of the sort menu. The button to change the direction of the sort is highlighted with an orange outline.

  5. Optionally, to remove a sort, click No sorting at the bottom of the list.

Showing the sum of a number field

You can configure a view to show the sum of one of more number fields, including a count of items in the group or column. For example, if you have a number field tracking the number of hours each item may take to complete, you can display of sum of those hours for each group or column.

In a board layout, field sums are displayed at the top of each column. In table and roadmap layouts, when you enable grouping by a field, field sums are included in each group's header.

  1. Click next to the name of the currently open view.

    Screenshot showing the tabs at the top of a project. The view menu icon is highlighted with an orange outline.

  2. Click Field sum.

  3. Select the fields you want to include.