hi
i am trying to develop with telerik,and i find this issue
example
there is some data in the gridview like
id name birthday
1 lee 1984-01-01
2 chiang 2000-05-03
3 tom 1986-03-03
jim 1996-12-01
i resort by name column then i get the table below
id name birthday
2 chiang 2000-05-03
jim 1996-12-01
1 lee 1984-01-01
3 tom 1986-03-03
int index = -1;
foreach(gridviewrowinfo row in rows)
{
if(row.cells["name"]=="lee")
{index=row.index;} //here we can get the index = 2
}
if(index>-1)
{
rows[index].cells["birthday"]="1999-03-05";
}
then we get the table below:
id name birthday
2 chiang 2000-05-03
jim 1996-12-01
1 lee 1984-01-01
3 tom 1999-03-05
have anyone get the mind that i mean?
when after the foreach we get a index after resorted and when we use rows[index] then the gridview point to the line before it is resorted!
so does it a bug?when will you fix it?