make export csv function can export multi detail tab

Description

current export function just export parent and active detail tab.
current export can export multi detail tab with a bit change as carlos suggest.
it's good to show a list detail tab to user can selection tab to export

Environment

None

Attachments

6

Activity

Show:

Hiep Lq July 12, 2014 at 9:30 AM

I add patch contain message.

for export second level. current code is not complete support.
because i will open new ticket for it.

I attach a export file with multi level. have wrong export record order:
current: export all user record after that export all Interest Area
correct order: export user 1, export all Interest Area of order 1 and continue for other user
maybe import also need a bit change for adapt

what happens if you select "Interest Area", but you don't select "Contact"? is that valid?
I think it's invalid, and must consider when init checkbox. may be display checkbox with indent as in bom drop

Carlos Ruiz July 11, 2014 at 10:34 PM
Edited

Great , I like the idea - one doubt, in CSV you cannot select "Interest Area" - I'm not sure but did you test if CSV can manage second level details?

Also, if we enable second level detail (like in zip) - what happens if you select "Interest Area", but you don't select "Contact"? is that valid?

Just asking, I didnt test.
Ah, and please create the SelectTabToExport message with official ID.

Hiep Lq July 11, 2014 at 6:32 PM

Hi Mr , please help me review it.
My understand code is:
+ when export to excel, just parent tab is export.
+ when export to 2Pach, all child tab is export
+ when export to csv, some tab is support to export (no read only, no account, display,...)

I add list checkbox for each child tab can export.
because.
when select a csv type, all exportable tab is display, just active child tab is selected
when select 2Pack type, all exportable tab is display, all is selected
when select excel type, nothing child tab is display

Fixed

Details

Assignee

Unassigned

Reporter

Labels

Components

Affects versions

Priority

Created July 11, 2014 at 4:16 PM
Updated September 6, 2014 at 6:58 AM
Resolved July 16, 2014 at 5:39 PM