Jump to content
Ketarin forum

Reorder columns


appyface
 Share

Recommended Posts

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 by appyface
Link to comment
Share on other sites

  • 2 weeks later...

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.