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
{{ message }}
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
I have to position the table in a given position in the PDF. When i do absolute positioning, the table style including table borders completely disappears.
<PDFViewer><Document><Page><Viewstyle={{position: "absolute",left: 0,top: 0}}><Tabledata={[{firstName: "John",lastName: "Smith",dob: newDate(2000,1,1),country: "Australia",phoneNumber: "xxx-0000-0000"}]}><TableHeader><TableCell>
First Name
</TableCell><TableCell>
Last Name
</TableCell><TableCell>
DOB
</TableCell><TableCell>
Country
</TableCell><TableCell>
Phone Number
</TableCell></TableHeader><TableBody><DataTableCellgetContent={(r)=>r.firstName}/><DataTableCellgetContent={(r)=>r.lastName}/><DataTableCellgetContent={(r)=>r.dob.toLocaleString()}/><DataTableCellgetContent={(r)=>r.country}/><DataTableCellgetContent={(r)=>r.phoneNumber}/></TableBody></Table></View></Page></Document></PDFViewer>
I have to position the table in a given position in the PDF. When i do absolute positioning, the table style including table borders completely disappears.