This question is locked. New answers and comments are not allowed.
I have a need to have to replace the Column Headers that are being populated in my RadGridView. I have taken the e.Result set and put the values into an array and changed the needed values. The problem I have now is trying to get this new string[] to load the RadGridView. When I use it as the ItemsSource is simply returns a string value and not the results.
Does anyone know how I would get this array to load the RadGridView in array or list form?
Does anyone know how I would get this array to load the RadGridView in array or list form?
var
tr = e.Result[0].ToArray();
string[] copiedArray = new string[resultCount];
for (var t = 0; t < hq.Count; t++)
{
var pp = tr[t].Key.ToString() +", "+ tr[t].Value.ToString();
copiedArray[t] = pp;
strSplitArr2[t] = strSplitArr2[t].ToString() +
", "+ tr[t].Value.ToString();
}
radGrid1.ItemsSource = strSplitArr2 //This doesn't work
radGrid1.ItemsSource = new DataTAble(e.Result); //This is the original way
