appyface Posted January 12, 2009 Report Share Posted January 12, 2009 (edited) I'd like to display 'target' column in Ketarin but I don't like where it is in the column order, so I have hidden it. Would be nice if I could drag-n-drop or otherwise reorder the columns being displayed, so I could put target at the far right. Post 1.0 wishlist is fine... Thanks and regards, --appyface Edited January 12, 2009 by appyface Link to comment Share on other sites More sharing options...
Kerberos Posted January 23, 2009 Report Share Posted January 23, 2009 I'm sad that this simple modification went overlooked. It's really easy to achieve. Would it cause any problems Flo? If not, I'd like to see it in the official build, just for aesthetics purposes. It's already in my personal build. Just add "this.olvJobs.AllowColumnReorder = true;" to MainForm.Designer.cs. Link to comment Share on other sites More sharing options...
floele Posted January 24, 2009 Report Share Posted January 24, 2009 Still, I also need to save and load the column order, which is not as trivial as changing a property. Link to comment Share on other sites More sharing options...
Kerberos Posted January 24, 2009 Report Share Posted January 24, 2009 PersistentForm:SaveDialogSettings() Add this to the Foreach loop: Settings.SetValue(olv, col.Text + ":LastDisplayIndex", col.LastDisplayIndex); Settings.SetValue(olv, col.Text + ":DisplayIndex", col.DisplayIndex); PersistentForm:LoadDialogSettings() Add this to the Foreach loop: col.LastDisplayIndex = (int)Settings.GetValue(olv, col.Text + ":LastDisplayIndex", col.LastDisplayIndex); col.DisplayIndex = (int)Settings.GetValue(olv, col.Text + ":DisplayIndex", col.DisplayIndex); Done. You're the one who told me how to do that It's not a big thing, just handy, that's all. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now