Skip to content

@revolist/revogrid / 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 rendersrc/components.d.ts:1805

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