Hi,

Is it possible to put borders on the filled cells in exported excel document?

Thanks!

Comments

les lim’s picture

Category: Support request » Feature request
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new422 bytes

Excel will draw the spreadsheet with borders if we include a meta tag for ProgId that identifies the export as an Excel sheet. Patch attached.

Status: Needs review » Needs work

The last submitted patch, 1: views_data_export-xls_headers.patch, failed testing.

les lim’s picture

Status: Needs work » Needs review
StatusFileSize
new857 bytes

Same patch with updated tests.

priti197’s picture

#3 patch still not applying any borders in exported excel document. Any idea ?

steffenr’s picture

@Les Lim - thanks for supplyinga patch for this issue - i just tested this patch with office on my Mac / Office 2011 and it's working fine for me.

steven jones’s picture

Status: Needs review » Postponed
Issue tags: +new formats
les lim’s picture

@Steven Jones: XLS is a currently supported format, though, not a new one.

les lim’s picture

Status: Postponed » Needs review

Setting back to "Needs review" for the moment.

les lim’s picture

Issue tags: -new formats

Removing tag.

steven jones’s picture

Status: Needs review » Closed (won't fix)

Sorry for the lack of attention to your issue, please accept my apologies.

Drupal 7 is going to be end-of-life'd by the community in approximately 1 month.

As such, I am closing all non-critical looking, non-PHP compatibility issues for Views Data Export to tidy up the issue queues and reduce the noise. You can read about this on #3492246: Close down Drupal 7 issues.

If you feel like this issue has been closed by mistake, please do comment about re-opening it.
If you feel like the ticket is still relevant for the 8.x-1.x version of the module, then please search for a duplicate issue first, and if there really isn't one (and you've looked properly) then change the version on the ticket and re-open.

Thanks to everyone involved in this issue: for reporting it, and moving it along, it is truly appreciated.
The Drupal community wouldn't be what it is today without your involvement and effort, so I'm sorry that we couldn't get this issue resolved. Hopefully we'll work together in a future issue though, and get that one resolved :)