mirror of
https://github.com/enso-org/enso.git
synced 2024-09-11 13:15:52 +03:00
Add column menu to header template (#10334)
When the types indicator was added the header template did not include the burger menu for the column. This adds the menu to the column header. ![image](https://github.com/enso-org/enso/assets/170310417/c71cc799-1177-4cd6-af83-b5d2ce3ecd46)
This commit is contained in:
parent
4164277d22
commit
38d7fbb94d
@ -244,7 +244,7 @@ function toField(name: string, valueType?: ValueType | null | undefined): ColDef
|
||||
const svgTemplate = `<svg viewBox="0 0 16 16" width="16" height="16"> <use xlink:href="${icons}#${icon}"/> </svg>`
|
||||
const template =
|
||||
icon ?
|
||||
`<div style='display:flex; flex-direction:row; justify-content:space-between; width:inherit;'> ${name} ${svgTemplate}</div>`
|
||||
`<div style='display:flex; flex-direction:row; justify-content:space-between; width:inherit;'> ${name} <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button"> </span> ${svgTemplate}</div>`
|
||||
: `<div>${name}</div>`
|
||||
return {
|
||||
field: name,
|
||||
|
Loading…
Reference in New Issue
Block a user