Link to home
Start Free TrialLog in
Avatar of mr60
mr60

asked on

Problem with Table columns Anchor property

Hi.
I have a " DataGrid " and its source is a " DataTable ".
this DataTable have two " DataColumn ".
I want to create Anchor for my Table columns such that
when user enlarge form, the datagrid and its columns be enlarged.
datagrid.Anchor work properly, but I could not create anchor
for Table columns; I test following way :

DataGridTextBoxColumn myColumnStyle1 ;
// some codes
myColumnStyle1.TextBox.Anchor =    // set proper anchor

but it dosen't work.
How I can solve this problem.

THANK YOU.
ASKER CERTIFIED SOLUTION
Avatar of dungla
dungla
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial