public void rgTickets_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item.ItemType == GridItemType.AlternatingItem || e.Item.ItemType == GridItemType.Item)
{
if (e.Item.Cells[5].Text == PriorityType.PriorityName.Critical.ToString())
{
e.Item.Cells[5].Style.Add(
"background-color", "red");
}
}
}
How do I get around finding the cell by Index? If the columns are moved around it will not find the correct cell. I would like to change it to something else.
Hi all
I m adding details to a mastertable on a hierarchical grid, my problem when the rows of the mastertable are displayed they dont show that they have details under them eg a plus sign or an arrow like the treeview. Does anyone know how to do this
I dont like the line below ,its seems too rigid for what i want to achieve. Right now thats what im doing but not happy with it.
Grid1.SelectedIndexes.Add(2, 0, 1, 0, 0);
Hi,
How can we find hidden RadGrid columns in Code?.
Kumar