Usually when setting ActiveRow in code behind, it will scroll the row into the view. When I add a new row from code behind and set the newly added row to ActiveRow, it doen't scroll to the newly added row(bottom). Why?
dwgDefault.DisplayLayout.Rows.Add();
dwgDefault.DisplayLayout.ActiveRow = dwgDefault.Rows[dwgDefault.Rows.Count - 1];
Thanks!
Amy
Hi Amy,
Thank you for posting in the community.
I suggest that you try activating the newly added row using the Activate() method, as such:
UltraWebGrid1.Rows.Add(); UltraWebGrid1.Rows[UltraWebGrid1.Rows.Count - 1].Activate();
Please let me know if this helps.
Please feel free to contact me if you need further assistance.