ag grid updates
This commit is contained in:
parent
ebc97c087a
commit
65479a803a
|
@ -149,7 +149,7 @@ Cypress.Commands.add("addButtonComponent", () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
Cypress.Commands.add("navigateToFrontend", () => {
|
Cypress.Commands.add("navigateToFrontend", () => {
|
||||||
cy.contains("frontend").click()
|
cy.contains("design").click()
|
||||||
})
|
})
|
||||||
|
|
||||||
Cypress.Commands.add("createScreen", (screenName, route) => {
|
Cypress.Commands.add("createScreen", (screenName, route) => {
|
||||||
|
|
|
@ -76,6 +76,9 @@
|
||||||
// checkboxSelection: i === 0 && canEdit,
|
// checkboxSelection: i === 0 && canEdit,
|
||||||
// valueSetter: setters.get(schema[key].type),
|
// valueSetter: setters.get(schema[key].type),
|
||||||
headerComponent: TableHeader,
|
headerComponent: TableHeader,
|
||||||
|
headerComponentParams: {
|
||||||
|
field: schema[key]
|
||||||
|
},
|
||||||
headerName: key,
|
headerName: key,
|
||||||
field: key,
|
field: key,
|
||||||
// hide: shouldHideField(key),
|
// hide: shouldHideField(key),
|
||||||
|
|
|
@ -1,9 +1,27 @@
|
||||||
<script>
|
<script>
|
||||||
export let params
|
import ColumnHeaderPopover from "../popovers/ColumnPopover.svelte"
|
||||||
console.log("in svelte", params)
|
|
||||||
|
export let column
|
||||||
|
export let gridApi
|
||||||
|
export let field
|
||||||
|
export let enableMenu
|
||||||
|
|
||||||
|
let menuButton
|
||||||
|
|
||||||
|
// field = {
|
||||||
|
// name: column.colId,
|
||||||
|
// colDef: column.colDef,
|
||||||
|
// }
|
||||||
|
|
||||||
|
console.log("in svelte", $$restProps)
|
||||||
|
|
||||||
|
function toggleMenu() {
|
||||||
|
this.agParams.showColumnMenu(menuButton)
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Fackle</h1>
|
<button bind:this={menuButton} on:click={toggleMenu} />
|
||||||
|
<ColumnHeaderPopover on:click {field} />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
h1 {
|
h1 {
|
||||||
|
|
Loading…
Reference in New Issue