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
15
Iggrid rowoffset problem
posted

Hi team,

i am using a iggrid in which we could see the row size is getting vary between movable columns and fixed columns.

could you please let us the way to fix it.

Regards,

Praveen

Parents
  • 0
    Offline posted

    This following works better if you need to scroll to an arbitrary item in the list (rather than always to the bottom):

    function scrollIntoView(element, container) {
      var containerTop = $(container).scrollTop(); 
      var containerBottom = containerTop + $(container).height(); 
      var elemTop = element.offsetTop;
      var elemBottom = elemTop + $(element).height(); 
      if (elemTop < containerTop) {
        $(container).scrollTop(elemTop);
      } else if (elemBottom > containerBottom) {
        $(container).scrollTop(elemBottom - $(container).height());
      }
    }
    The Note"Iggrid rowoffset"there is more information visit:https://bit.ly/2OUHlbu
Reply Children
No Data