Hex Core JS
    Preparing search index...

    Function Table

    • A table for displaying data. Analogous to the HTML <table> element.

      For less advanced handling (with fewer prop requirements), see the BasicTable component.

      Type Parameters

      • C extends string

      Parameters

      Returns Element

    Index

    Properties

    useScrollSync: () => { scrollSyncID: number; synchronizeScroll: () => void }

    Type Declaration

      • (): { scrollSyncID: number; synchronizeScroll: () => void }
      • Provides a scrollSyncID value a function to update its value. (Wraps useSync from Core). Utility for the scrollSyncID prop on the Table component.

        Returns { scrollSyncID: number; synchronizeScroll: () => void }

    Methods

    • The body of a table. Analogous to the HTML <tbody> element.

      Parameters

      Returns Element

    • A cell of a table. Analogous to the HTML <td> element.

      Parameters

      Returns Element

    • A filler row of a table. Useful for maintaining table height with pagination or variable data.

      Parameters

      Returns Element

    • The footer of a table. Analogous to the HTML <tfoot> element.

      Parameters

      Returns Element

    • The header of a table. Analogous to the HTML <thead> element.

      Parameters

      Returns Element

    • A heading of a table. Analogous to the HTML <th> element.

      Type Parameters

      • T extends string

      Parameters

      Returns Element

    • A row of a table. Analogous to the HTML <tr> element.

      Parameters

      Returns Element

    • Toolbar for a table. Should contain controls for interacting with the table. Must be placed under the table and be a child of a <Table.Container> for sticky positioning to work correctly.

      Parameters

      Returns Element