Skip to content

RevoGrid Documentation v4.27.11 / JSX / 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 render Default []src/components.d.ts:2013