How do you hide the columns in datagrid?
Answers were Sorted based on User's Feedback
Answer / s
DataGridTableStyle Dts1=new DataGridTableStyle();
datagrid1.TableStyles.Add(Dts1);
Dts1.GridColumnStyles[0].Width=0;
Dts1.GridColumnStyles[1].Width=390;
Dts1.GridColumnStyles[1].HeaderText="Title";
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / surya
In the html source of datagrid, add "visible=true" to the
item template of corresponding row.
| Is This Answer Correct ? | 1 Yes | 0 No |
what are events?
What is form and meaning?
What is the advantage of a form?
What is the need of z-order method?
What is formdata?
Which property of textbox cannot be changed at runtime?
Name the class to be inherited for creating a custom control.
To which namespace does the control class belong?
Clear property is available in which control?
Which method grants a lock on a resource?
How many system controls are available ?
How many types of dialog boxes windows provides?