ReportLab render right border for table cells? -


there linebelow , lineabove in reportlab documentation. can't find way define right or left borders (lineleft,lineright).

any suggestion how render cells right border only?

edit:

i discovered 'innergrid' allows me put border between 2 cells:

('innergrid',(0,0),(1,0),0.3*mm,(0,0,0)) 

this renders black border between 1st , 2nd cell of 1st row:

┌───────╥───────┐ │ cell1 ║ cell2 │    ║ = border └───────╨───────┘    │ = cell 

but i'm locking like:

╓───────┬───────╖ ║ cell1 │ cell2 ║ ╙───────┴───────╜ 

i not believe there support setting right border independently exposed tablestyles. however, based on editing question add, should able want this:

('grid',(0,0),(-1,-1),0.3*mm,(0,0,0)), ('box',(0,0),(-1,-1),0.6*mm,(0,0,0)) 

that should thin grid between cells , thicker border around table.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -