diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example03.ts b/examples/vite-demo-vanilla-bundle/src/examples/example03.ts index 7caf7a1df..25fb7e5f5 100644 --- a/examples/vite-demo-vanilla-bundle/src/examples/example03.ts +++ b/examples/vite-demo-vanilla-bundle/src/examples/example03.ts @@ -223,10 +223,10 @@ export default class Example03 { } }, { - id: 'action', name: 'Action', field: 'action', width: 100, maxWidth: 100, + id: 'action', name: 'Action', field: 'action', width: 90, maxWidth: 90, excludeFromExport: true, formatter: () => { - return ``; + return ``; }, cellMenu: { hideCloseButton: false, diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example04.scss b/examples/vite-demo-vanilla-bundle/src/examples/example04.scss index 3f3ecf975..030f66285 100644 --- a/examples/vite-demo-vanilla-bundle/src/examples/example04.scss +++ b/examples/vite-demo-vanilla-bundle/src/examples/example04.scss @@ -1,4 +1,23 @@ // @import '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-material.scss'; .orange { color: orange; +} + +.cell-menu-dropdown { + border: 1px solid #a3a3a3; + border-radius: 5px; + display: flex; + align-items: center; + height: 90%; + width: max-content; + padding: 0 12px; + cursor: pointer; + &:hover { + background-color: #a3a3a3; + color: #ffffff; + } + + .mdi-chevron-down { + margin-left: 5px; + } } \ No newline at end of file diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example04.ts b/examples/vite-demo-vanilla-bundle/src/examples/example04.ts index 12ac82a91..ae0a6b4c0 100644 --- a/examples/vite-demo-vanilla-bundle/src/examples/example04.ts +++ b/examples/vite-demo-vanilla-bundle/src/examples/example04.ts @@ -294,9 +294,7 @@ export default class Example04 { { id: 'action', name: 'Action', field: 'action', width: 100, maxWidth: 100, excludeFromExport: true, - formatter: () => { - return ``; - }, + formatter: () => `
Action
`, cellMenu: { hideCloseButton: false, // you can override the logic of when the menu is usable diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example18.html b/examples/vite-demo-vanilla-bundle/src/examples/example18.html index 9a96bf863..84252f9ad 100644 --- a/examples/vite-demo-vanilla-bundle/src/examples/example18.html +++ b/examples/vite-demo-vanilla-bundle/src/examples/example18.html @@ -25,7 +25,7 @@
- + @@ -44,13 +44,13 @@
- + to - + - +