Skip to content

@revolist/revogrid / Components / RevogrExtra

Interface: RevogrExtra

Contains extra elements for stencil components. Performs rendering and updates for external components.

Example

ts
In Plugins if you want to add extra elements to grid and use stenciljs vnodes reactivity:
function paginationPanel(this: PaginationPlugin, config: { refresh: () => void }) {
   // use `config.refresh()` for component to re-render
   return h('div')
}
revogrid.registerVNode = [
   ...existingNodes,
    paginationPanel.bind(this)
];
/**

Properties

PropertyTypeDescriptionDefined in
nodes(VNode | (c: ExtraNodeFuncConfig) => VNode)[]Nodes to rendersrc/components.d.ts:423
refresh() => Promise<void>Refreshes the extra component. Useful if you want to manually force the component to re-render.src/components.d.ts:430

Revogrid is a powerful data grid library made by Revolist OU.