Click here to Skip to main content
14,978,617 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Componentone flexgrid allow to freeze the column but I must use mouse to choose the column I want to freeze.
If I want to set it automatically on load. Is there any way? Please help.

What I have tried:

flexgrid.AllowFreezing = AllowFreezingEnum.Columns
Posted
Updated 11-Mar-21 21:54pm
Comments
Maciej Los 12-Mar-21 2:19am
   
What?
Sorapong Noisawek 12-Mar-21 2:52am
   
https://i.postimg.cc/1tBwqTjc/111.jpg

1 solution

Seems that you're using third party component: GrapeCity FlexGrid[^]

Quote:
I must use mouse to choose the column I want to freeze.
If I want to set it automatically on load. Is there any way?


Well... The documentation strictly says that:
Quote:

AllowFreezing Enumeration


Specifies constants that define what the user can freeze with the mouse.


Columns The user may freeze columns by dragging the frozen region vertical boundary with the mouse.
   
Comments
Sorapong Noisawek 23-Mar-21 0:43am
   
Thank You.
Maciej Los 23-Mar-21 3:02am
   
You're welcome.
Can you accept my answer as a solution (use green button)?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900