SharpGrid Support

Started by pryan at 03-18-2009 2:46 PM. Topic has 5 replies.

Print Search Rate
Sort Posts:    
   03-18-2009, 2:46 PM
pryan is not online. Last active: 3/18/2009 11:17:27 PM pryan

Not Ranked
Joined on 10-21-2004
Posts 4
Grouping Icons
I cannot seem to get the + / - icons to change.  I really want to have them vertically aligned in the middle. But if I can't do that I want to get rid of them.  I have changed the row height of the groupheader rows, so my text is aligned in the middle but this icon is at the top!!!
   Report 
   03-19-2009, 3:16 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: Grouping Icons

pryan,

You can use SharpGrid's OutlineIcons property to tell SharpGrid how to display the group icons:
http://www.datadynamics.com/Help/SharpGrid/propertySGGridOutlineIcons.html.
Unfortunately, there is no built-in feature to align group icons vertically but by using OutlineIcons property you can hide any group expand or collapse icons; or display user-defined group expand and collapse icons:
http://www.datadynamics.com/Help/SharpGrid/propertySGGroupCollapseIcon.html
http://www.datadynamics.com/Help/SharpGrid/propertySGGroupExpandIcon.html

Thank you,
Andrey T.


   Report 
   08-31-2009, 9:08 AM
pryan is not online. Last active: 3/18/2009 11:17:27 PM pryan

Not Ranked
Joined on 10-21-2004
Posts 4
Re: Grouping Icons
Thanks. However, I do not get the OutlineIcons as a property of the Grid???
   Report 
   08-31-2009, 10:44 PM
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: Grouping Icons

Attachment: sgGrouping1.zip

pryan,

You can set OutlineIcons property like this:

SGGrid1.OutlineIcons = sgCustomOutlineIcons

After this you can set groups expand and collapse icons, for example:

 SGGrid1.GroupExpandIcon = sgbipFirst + 3
 SGGrid1.GroupCollapseIcon = sgbipFirst + 2

I've attached a sample which demonstrates this.

Thank you,
Andrey T.


   Report 
   09-10-2009, 9:45 AM
pryan is not online. Last active: 3/18/2009 11:17:27 PM pryan

Not Ranked
Joined on 10-21-2004
Posts 4
Re: Grouping Icons

Attachment: OutlineIcons.JPG
Thanks. But as I said, I do not have the OutlineIcons as a property of the grid. I've attached a screenshot of the code with the intelli-search popup of properties of the grid. Am I missing something???

   Report 
   09-10-2009, 10:12 PM
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: Grouping Icons

Attachment: sgOutlineIcons.JPG

pryan,

This popup is showing OutlineIcons property in my testing. What is your operational system? Also, please ensure that you are using the latest Visual Basic 6 SP 6 and the latest SharpGrid version 2.3.0.1127 which can be found here:
http://www.datadynamics.com/forums/35/ShowForum.aspx

Thank you,
Andrey T.



   Report 
GrapeCity » Product Support » SharpGrid Suppo... » Re: Grouping Icons

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