using xtpGridSortNoSort |
Post Reply |
Author | |
Osiris
Groupie Joined: 18 June 2007 Status: Offline Points: 29 |
Post Options
Thanks(0)
Posted: 10 November 2008 at 8:50am |
Hi there,
I've got a class derived from CXTPPropertyGrid that fills it's items and after that calls SetPropertySort( xtpGridSortNoSort ). But the grid is still displayed in categorized mode -> first it displays my dummy group and under this group all the items. I would expect the grid to display only the items without any groups. What am I missing? Can you think of any circumstances that could cause the grid to not show the behaviour I expect? Thanks in advance Stefan |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Can you try it with our sample ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Osiris
Groupie Joined: 18 June 2007 Status: Offline Points: 29 |
Post Options
Thanks(0)
|
Hi Oleg,
yes I tried with the sample and it worked properly (of course it did ;) ). But I figured out my mistake: SetPropertyOrder does not work if called between the grid methods BeginUpdate() and EndUpdate(). With SetPropertyOrder called after EndUpdate() everything is fine. Thanks anyway Stefan P.S. There's a little typing error in your sample PropertyGrid\GridSample. The caption of the last checkbox in the 'Behaviour' groupbox is 'Right To Let' instead of 'Right To Left'. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
thanks :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |