Questions tagged [headertext]
25 questions
0
votes
0 answers
Display of HeaderText in GridView
I am currently working on making webpages ADA compliant.
I have a column in gridview that basically has Update/Delete links , so it does not have a header displayed.
But for ADA compliance, I need to have some text so that screen readers can…

Manali
- 53
- 7
0
votes
2 answers
data Grid Data bound field header text change in c#
I have a datagrid that has a BoundColumn there I am trying to change the header text on page load I so fa. I have tried this.

Simple Code
- 558
- 9
- 24
0
votes
2 answers
Export to Excel with header text
I have code that is supposed to include header text when exporting to Excel.
For i As Integer = 0 To DataGridView2.Rows.Count - 2
For j As Integer = 0 To DataGridView2.Columns.Count - 1
' Excel index starts from 1,1. As first Row would…

LarsS
- 163
- 1
- 15
0
votes
1 answer
Changing several DataGridView HeaderText values is SLOW
After binding the Data grid View to a datasource I need to change the column headers on 12 columns to user friendly values and make them read only.
Grid.Columns["columnname"].HeaderText = "Column Name";
Grid.Columns["Client"].ReadOnly = true;
When…

DrJaul
- 73
- 7
0
votes
2 answers
How can I get the gridview header's text that is clicked by the user
I had a grid view populated from dataset and I have to redirect another page when user clicks on gridview header.
How can I get the gridview header's text that is clicked by the user .
I tried some code here...
protected void gv2_RowDataBound(object…

nnnn
- 1,041
- 3
- 18
- 35
0
votes
1 answer
DataGrid header text alignment in as3
I want to change datagrid header text alignment from left to center.
this is what is used
// sample code
var tf:TextFormat = new TextFormat();
tf.size = 15;
tf.font = "Arial" ;
tf.color = 0x0000FF;
tf.align = "CENTER";
// also tried tf.align =…

swaraj
- 29
- 1
- 7
0
votes
1 answer
Customising Flex datagrid headerText
Gurus,
I have a Adobe AIR application which has a datagrid. My requirement is to allow the user to make the column headers and the number of columns of that grid, customizable.
1. How can I get the column headerText values from DB?
2. If the user…

Jad
- 11
- 4
0
votes
3 answers
I'm looking for a way to make my first column in my datagridview a header
Ok so I have a dataset that is pulling specific cells from an excel file and populating a datagridview column. However the cells I'm pulling really need to be headers rather than normal columns in the datagridview. So is there an easy way I can turn…

stackexchange12
- 622
- 9
- 20
- 41
0
votes
1 answer
How to change HeaderText of GridView in multiple pages?
I want to rename column names in GridView in multiple pages. So far, I can change one at a time. Here's my code:
protected void Button1_Click(object sender, EventArgs e)
{
for (int i = 0; i < GridView1.Columns.Count; i++)
{
if…

karabar
- 1
- 2
-1
votes
1 answer
How to get a DataGridViewColumn by it's HeaderText Property?
How do I get a column of a data grid view by the header text rather than by the index or name property?
What I tried so far is the my intuitive approach:
// Identifiers used are:
string myHeaderText = "Header Text";
dataGridViewColumn =…

G. LC
- 794
- 1
- 8
- 27