C
Cezar
Hello,
Is it possible to create a special style just for one column of the grid.
I want to display in Bold the values of a column.
Also, for a column, I want to create hyperlinks only for some values,
based on a condition :
e.g
public void OnItemDataBoundEventHandler(Object sender, DataGridItemEventArgs e)
{
TableCell linkNameCell;
if(condition)
{
//NO LINK
}
else
{
linkNameCell = (TableCell) e.Item.Cells[4];
hName.NavigateUrl = "someURL";
}
I know I can always make a "#" link but it would ne nicer if I could just
have no link at all,
Thank you,
Cezar
Is it possible to create a special style just for one column of the grid.
I want to display in Bold the values of a column.
Also, for a column, I want to create hyperlinks only for some values,
based on a condition :
e.g
public void OnItemDataBoundEventHandler(Object sender, DataGridItemEventArgs e)
{
TableCell linkNameCell;
if(condition)
{
//NO LINK
}
else
{
linkNameCell = (TableCell) e.Item.Cells[4];
hName.NavigateUrl = "someURL";
}
I know I can always make a "#" link but it would ne nicer if I could just
have no link at all,
Thank you,
Cezar