Hi,

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

Thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Les Lim’s picture

Category: Support request » Feature request
Issue summary: View changes
Status: Active » Needs review
FileSize
422 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
FileSize
857 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.