Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - [SOLVED] DisableReorderColumnsCount at runtime
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] DisableReorderColumnsCount at runtime

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] DisableReorderColumnsCount at runtime
    Posted: 13 August 2008 at 9:23am
Hi,
 
Why can't I set DisableReorderColumnsCount at runtime? It works with FreezeColumnsCount but it's still possible to drag the column.
 
I hope this will be fixed in next release, I really need this!
 
Thanks
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2008 at 11:20am
Use DisableReorderColumnsCount to set the count of the columns at the left side where _reordering is disabled_.
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2008 at 1:54am
Hi,
 
The reason why the DisableReorderColumnsCount can't be changed at runtime:
 
  • You have to set the value before you add columns to RC. Setting a value after adding columns won't have any result.

The ItemIndex of the column will be used to determine if the column can be reordered so all Columns with .ItemIndex less/equal to DisableReorderColumnsCount can't be reordered. Since you can't remove just one column the .ItemIndex of a column doesn't change so hiding a column (one that you didn't want to be reordered) don't affect DisableReorderColumnsCount.  

Thanks
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.