Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Lock Columns from Reorder
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Lock Columns from Reorder

 Post Reply Post Reply
Author
Message
mblotus View Drop Down
Newbie
Newbie


Joined: 04 December 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mblotus Quote  Post ReplyReply Direct Link To This Post Topic: Lock Columns from Reorder
    Posted: 10 March 2008 at 4:49pm
Hello,

Is there a way to lock certain columns from being reordered, so that those columns will always stay at the same position?

For example:  I have 3 colummns, and I want the 1st column to always stay on the 1st position.  I can set the 1st column's AllowDrag property to False, which would prevent it from being dragged to other positions, however I have yet to find a way to prevent other drag-able columns from being positioned to the left of the 1st column.  Is there a way?

I'm using Report Control 9.70.

Thank you for any assistance!

Michael
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: 21 April 2008 at 6:45am

Hi,

In V12.0 there's an option

wndReportControl.DisableReorderColumnsCount
 
You can set the number of columns on the left side who will be locked (dragging and dropping).
 
wndReportControl.DisableReorderColumnsCount = 2 will lock the first 2 column all others are allowed to move 
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.172 seconds.