SharpGrid Support

Started by DrMueller at 08-12-2009 6:55 AM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   08-12-2009, 6:55 AM
DrMueller is not online. Last active: 10/24/2011 2:31:43 PM DrMueller

Top 100 Posts
Joined on 10-05-2006
Posts 85
After I put a field back in the list, it shows all its items

Attachment: ATT_ATT_grid.pdf

Hey guys,

I attached some screenshots, which show what I mean:
1. I group the list with some headers. All lists are closed and only its main parameters are shown.

2. After I put one of the order-headers back to the list, all details are shown. But it should still just show the group-list headers.

I Hope you understand what I mean.

 

With best regards

Müller Matthias


   Report 
   08-13-2009, 2:55 AM
Andrey - DD is not online. Last active: 8/25/2011 5:42:49 PM Andrey - DD

Top 25 Posts
Joined on 08-01-2007
Russia, Novosibirsk
Posts 671

DDStaff
Re: After I put a field back in the list, it shows all its items
DrMueller,

SharpGrid does not offer an inherent way to keep track of all columns expand / collapse states. The way to approach this would be through the use of some custom code (which saves the expand collapse state before the adding/removing group, and applies it to the grid after).

The link below contains some information about Controlling Group Expansion/Collapse through Code.
http://www.datadynamics.com/forums/78644/ShowPost.aspx

In your particular case you can call CollapseAll method in AfterGroupChange event if operation is sgGroupRemove.

Thank you,
Andrey T.
   Report 
GrapeCity » Product Support » SharpGrid Suppo... » Re: After I put a field back in the list, it shows all its items

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.