I have a grid with some itens grouped. In my grid it ́s all expanded, then I call printpreview and choose in options to collapse it but it doesn ́t work. But if in my grid it ́s all collapsed and I call printpreview, choose in options to expand or collapse it then it works fine.
This behavior is by design. This option only allows you to expand all groups, but doesn't allow to collapse expanded rows. (Actually, that's why the options group is named "Expand")
If you want to print all rows collapsed, simply call the CollapseAllGroups before showing the Print Preview.
If you need any further assistance on this subject, please feel free to reactivate this ticket.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.