Function prepareTableSlice
prepareTableSlice<T extends { title: string; status: string }>( data: T[], startIndex: number, endIndex: number, columnVisibility: { score: boolean; chapters: boolean; volumes: boolean; lastRead: boolean; },): PreparedTableRow<T>[] Type Parameters
- T extends { title: string; status: string }
Parameters
- data: T[]
- startIndex: number
- endIndex: number
- columnVisibility: { score: boolean; chapters: boolean; volumes: boolean; lastRead: boolean }
Format an entire slice of data for the table viewport.