![]() |
using xtpGridSortNoSort |
Post Reply
|
| Author | |
Osiris
Groupie
Joined: 18 June 2007 Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Topic: using xtpGridSortNoSortPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 November 2008 at 11:32am |
|
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)
Quote Reply
Posted: 11 November 2008 at 10:25am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 November 2008 at 3:30pm |
|
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 |