To Highlight rows during mouseover:
// add this to .net code after you bind the grid
foreach (DataGridItem dgi in myDataGrid.Items)
{
dgi.Attributes.Add("onmouseover", "this.style.backgroundColor='#0000ff'");
dgi.Attributes.Add("onmouseout", "this.style.backgroundColor='#ffffff'");
}
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.