Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
785
Mutil-line header select and drag
posted

Hi,
Recently I'm using winGrid and got two questions.
1)I got a mutil-line header grid, with the first header line "Date" and the second header line "morning", "noon" and "night".
And I want to implement this effect: when I click the header "Date", all the columns will be selected.
e.g
①"morning" is checked,
When I click the header "Date", and the column "morning" should be selected.

②"morning" and "noon" are checked,
When I click the header "Date", and all the column "morning", "noon" should be selected.

③"morning", "noon" and "night" are checked,
When I click the header "Date", and all the column "morning", "noon" and "night" should be selected.

Is it possible to implement this effect?

2)"morning", "noon" and "night" are checked,
And when I drag the "Date" column, only the last column "night" 's width is changed. That's same with the Title column.

Is there something that I'm missing?

I've attach my code. Could you please help me with these two questions?
Thanks for your concern.

WindowsFormsApplication1.zip