简体   繁体   中英

Can I re-order columns in exporting CSV on Drupal 8 Webform Submissions?

Currently, there is a results download feature with webform core module and we can select the columns to include in exporting CSV file.

在此处输入图片说明

But I couldn't figure it out how can we re-order these columns to show them in exact custom order we require in exporting CSV file.

Is this possible with current features provided or is this achievable using some custom code and Webform Submission Exporter provided?

Any help, direction or guidance would be appreciated.

You would have to extend the DelimitedWebformExporter and add the column sorting logic.

Another approach is to use the Webform View Integration module and build a completely custom CSV.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM