set autosize of datagrid to no

R

raymond chiu

Dear all,

How can I set the datagrid autosize properties to be zero? as I don't find
this properties in datagrid.
The situation is that I have set the datagrid width to be 200px but when I
auto create columns in datagrid and it occur the whole width of the page in
run time due to more columns inserted than design time.

Any ways to do?
 
C

Christopher Reed

You probably want to turn off autogenerate of columns and use only the
columns you want and need. Even if you want all of the columns, this will
allow you to set the column widths.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top