Home > @native-html/table-plugin > TableConfig
This object defines how the table component can be customized.
Signature:
export interface TableConfig
Property | Type | Description |
---|---|---|
animationDuration? | number | (Optional) The animation duration in milliseconds when infered height value changes. See TableConfig.computeContainerHeight. |
animationType? | 'none' | 'layout' | 'animated' | (Optional) What kind of animation should be used when height is changed?
|
computeContainerHeight? | (state: TableContentHeightState) => number | null | (Optional) A function which will compute container's height given the table content height. |
computeHeuristicContentHeight? | (state: HTMLTableStats) => number | (Optional) A function to compute approximate content height before the real content height has been fetched on DOM mount. |
cssRules? | string | (Optional) Override default CSS rules with this prop. |
displayMode? | 'normal' | 'embedded' | 'expand' | (Optional) Determine how the width of the table is constrained (or not).
|
maxScale? | boolean | (Optional) Max zoom scale (must be greater than 1). |
style? | StyleProp<ViewStyle> | (Optional) Container style. |
tableStyleSpecs? | TableStyleSpecs | (Optional) Specs to generate css rules. |
webViewProps? | any | (Optional) Any props you'd like to pass to the WebView component. |