Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
UltraWebGrid ActiveRow Scroll
posted

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

Parents
  • 49378
    posted

    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.

Reply Children
No Data