You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I use rowspan, but when fetching data isRowSpanned and rowSpan error occurs Property 'rowSpan' does not exist on type 'Cell<object, any>'
`import { useTable, useSortBy, useBlockLayout } from "react-table";
import _ from "lodash";
import { Table } from "react-bootstrap";
import { useSticky } from "react-table-sticky";
import Skeleton from "react-loading-skeleton";
import 'react-loading-skeleton/dist/skeleton.css'
function useInstance(instance: any) {
const { allColumns } = instance;
// console.log(instance)
}
function TableInfoTagihan({ columns, data, loading }: any) {
const {
getTableProps,
getTableBodyProps,
headerGroups,
rows,
prepareRow,
rowSpanHeaders,
getCellProps
} = useTable(
{
columns,
data,
loading,
},
useSortBy,
useSticky,
hooks => {
hooks.useInstance.push(useInstance);
}
);
}
export default TableInfoTagihan;
`
Beta Was this translation helpful? Give feedback.
All reactions