We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

column questions

Thread ID:

Created:

Updated:

Platform:

Replies:

65242 Jul 25,2007 11:43 AM Jul 26,2007 12:11 PM Windows Forms 2
loading
Tags: Grouping
zach
Asked On July 25, 2007 11:43 AM

Hello - I ahve a couple of questions.

1. I have a bunch of columns that belong to two groups (lets call them A and B). There is also a column (X) that is not in either group. I want the user to be able to drag the columns to reorder them, but the columns in group A must stay on the left of X and B must stay on the right of X. How would I do this?

2. How can I save the position/size of columns in the grid so the settings persist from the last session each time the application is started?

3. When a row is selected, how can I tell what column was clicked for selection, and if the row was selected through another method (not the mouse) how can I tell what column's cell is the current cell?

Thanks a lot

zach
Replied On July 26, 2007 10:54 AM

OK - I got 2 and 3, just waiting on one now.

Thanks!

zach
Replied On July 26, 2007 12:11 PM

got it!

didn't think you could set allowdrag after the drop in TableControlQueryAllowDragColumn

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;