mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
[enhancement]: add codec column for tracks
This commit is contained in:
parent
9113c6cc2e
commit
860dd8b499
4 changed files with 16 additions and 0 deletions
|
|
@ -158,6 +158,14 @@ const tableColumns: { [key: string]: ColDef } = {
|
|||
params.data ? params.data.channels : undefined,
|
||||
width: 100,
|
||||
},
|
||||
codec: {
|
||||
cellRenderer: (params: ICellRendererParams) => GenericCell(params, { position: 'center' }),
|
||||
colId: TableColumn.CODEC,
|
||||
headerName: i18n.t('table.column.codec'),
|
||||
valueGetter: (params: ValueGetterParams) =>
|
||||
params.data ? params.data.container : undefined,
|
||||
width: 60,
|
||||
},
|
||||
comment: {
|
||||
cellRenderer: NoteCell,
|
||||
colId: TableColumn.COMMENT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue