J
Jacques Leclerc
I've got a datagrid on a webform. The sortable attribute is set within the
<aspataGrid> tag on the aspx file. An intial value is also set for the
column header text.
In the code behind page in the ItemDataBound event I reset the header text
based on a user selection criteria. The setting of the header text is
accomplished with the following code.
e.Item.Cells(0).Text = "<p>Donation Group</p>"
The column displays the new header text but the sortability for that column
is lost.
Does anyone know the correct syntax for changing the header text without
losing the sortability?
Thanks
<aspataGrid> tag on the aspx file. An intial value is also set for the
column header text.
In the code behind page in the ItemDataBound event I reset the header text
based on a user selection criteria. The setting of the header text is
accomplished with the following code.
e.Item.Cells(0).Text = "<p>Donation Group</p>"
The column displays the new header text but the sortability for that column
is lost.
Does anyone know the correct syntax for changing the header text without
losing the sortability?
Thanks