Premium support for our pure JavaScript UI components


Post by rahulranjan »

Hi
Thanks
If you select export and in Rows 'all' option and schedule range as complete then it should export all the rows . But in above if you see it exports only one row data which is visible . Now if you expand the first row also it exports only visual data in gantt . And the you select the columns it won't be come in pdf only columns which are visual comes .
Click on Fit to size and then export the project start and end time line labels moves from position.

In Schedule Range Visual and Complete is behaving same it does export complete if you have selected it .
Now if i select complete and in Row all rows it should export all the rows irrespective of visible or not i.e expanded or not right ? but it is not
The attach issue is producible in above demo project

And do i really need one for server or can i run it on other nodejs project ?

Attachments
Export Issue.gif
Export Issue.gif (4.15 MiB) Viewed 1418 times

Post by rahulranjan »

Hi
I checked no where media we are using even you can check in project . - Need help on this how to fix it
When you replace ↵ with space (' ') you'll see the page correctly. - How to do this .


Post by Maxim Gorkovsky »

Now if i select complete and in Row all rows it should export all the rows irrespective of visible or not i.e expanded or not right ? but it is not

This is not correct. Export feature does not expand or collapse rows. It exports only expanded rows, i.e. view store content. visible option stands for rows which are actually visible to the user, overflowing rows are ignored.

When you replace ↵ with space (' ') you'll see the page correctly. - How to do this .

Regular find/replace feature in any editor

I checked no where media we are using even you can check in project . - Need help on this how to fix it

I've opened a ticket about this (see above), we will investigate.

Issue with missing columns is reproduced, I opened a ticked: https://github.com/bryntum/support/issues/1577 Thank you for report.
As a workaround you can use different subGridConfig, avoiding flex:

subGridConfigs : {
  locked : { width : 400 }
}

Post by rahulranjan »

Hi
Thank you .
Can we hide few options let say selection of columns , Schedule Range Rows etc. We can customize editor


Post by rahulranjan »

Hi
One more question
when you select date range the values are coming wrong in from . if you see root task has end sate 31/Aug/2020 but shows wrong value in selection . And how can we format the date field


Post by Maxim Gorkovsky »

There is no public API for that yet, I opened ticket to improve this: https://github.com/bryntum/support/issues/1584

I can suggest to hide/show fields after showing the dialog:

grid.features.pdfExport.showExportDialog();
grid.features.pdfExport.exportDialog.widgetMap['columnsField'].hide(); // once hidden it won't appear until you call 'show'

This is a list of field references which is unlikely to change:

columnsField
scheduleRangeField
rangeFieldsContainer
rowsRangeField
exporterTypeField
alignRowsField
repeatHeaderField
fileFormatField
paperFormatField
orientationField

But I would still recommend to build your own export dialog. All this dialog does is assembling a config object for the export feature (which you can find here in section PdfExport) and calls export.
Take a look at default dialog sources for inspiration (Scheduler/view/export/SchedulerExportDialog)


Post by rahulranjan »

Thanks a lot
It will really help us .
Can you please date issue


Post by fabio.mazza »

Hi rahulranjan,

Milestone for all those issues was informed on github.

Best regards,
Fabio


Post by rahulranjan »

HI While Selecting Head styles can we remove the head styles before sending it to export server

Maxim Gorkovsky wrote: Thu Sep 24, 2020 4:50 pm

You get wrong HTML because of the unicode symbol https://www.codetable.net/decimal/8629 which replaces \n at some point when you copy POST message body. I opened a ticket to fix this: https://github.com/bryntum/support/issues/1574

When you replace ↵ with space (' ') you'll see the page correctly. But when you'll try to print it using browser, events will disappear. You need to check if your styles (or bootstrap's styles) somehow interfere with our theme making events disappear.
Exported page:
TEST.png
Print dialog:
TEST print.png

I've opened ticket to track this issue: https://github.com/bryntum/support/issues/1575 we will look into this issue, but in the meantime I could recommend to check your app stylesheets. I assume there are @media styles defined somewhere which are responsible for this behavior.

Now regarding missing rows on exported page, I couldn't reproduce this on your demo even though I added few pages worth of tasks. Can you provide a runnable test case?


Post Reply