The post was moved by Maxim (DevExpress Support)
Hello,
I need to be able to print the selection of a Master-Detail Grid in ServerMode and I have this issue : only master are printed. Details are printed empty.
Can you provide a workaround and let me know when this bug will be fixed ? I cannot filter my datasource before printing because it would require an "IN (key1, key2, key3…)" that quickly overflows SqlServer limit.
Regards,
Guillaume
Hi Guillaume.
I have not managed to reproduce this behavior on my side. Would you please provide a small sample project an simple description to illustrate this issue?
I am looking forward to your feedback.
To reproduce the behavior you need a server mode datasource with master detail then enable PrintDetails but do not enable ExpandAllDetails. As you didn't managed to reproduce the issue, please send me your project so I can check what is different in my context.
Hi Guillaume,
This is my test project. It is not quite clear why you turned off the ExpandAllDetails property. Would you please clarify this point?
I am looking forward to your response.
Hi Maxim,
ExpandAllDetails = false is the default behavior of DX and our customers expect the printing to match the state of the control. We added a button to expand everything. They can use it before printing.
In your sample, ExpandAllDetails is set to true. Try setting it to false.