title: scrollRowIntoView not working in jquery-ui dialog box
body: <p>I am using slick grid for displaying item list. 
  The list is populated using <code>$.ajax</code> call in a <code>jquery-ui dialog box</code>.</p>
  
  <p>I have requirement to scroll to the position of previously selected item.
  Hence, I use following function to scroll and select previously selected item:</p>
  
  <pre><code>function SetDefaultItemSelected() {
  
          var selectedKey = 16; // hardcoded but there is logic to get previous item
  
          for (var rowIndex = 0; rowIndex &lt; myItemDataView.getLength(); rowIndex++) {
              var gridRow = myItemDataView.getItem(rowIndex);
              if (gridRow.Key === selectedKey) {
                  myItemGrid.setSelectedRows([rowIndex]);
  
                  //TODO: check why the scrollRowIntoView is not working
                  myItemGrid.scrollRowIntoView(rowIndex);
                  break;
              }
          }
  </code></pre>
  
  <p>Output is something like this:</p>
  
  <p>(There are 22 rows in total and I had previously selected 16th  row)
  I am not sure why it is hiding the top 3 rows and not scrolling to 16th row.</p>
  
  <p><img src="https://i.stack.imgur.com/t0sKF.png" alt="Slick Grid with data populated"></p>
  
  <p><strong>UPDATE 1:</strong></p>
  
  <p>Just checked that if I add the button and bind its click event with the the above function, the scrolling magically works.
  But, I am not sure what wrong am I doing in calling the function just after creation of grid?
  Please help.</p>
  
  <p>Could it be possible bug as functionality is working on page but not on jquery-ui dialog?</p>
  
  <p><strong>UPDATE 2:</strong></p>
  
  <p>I created new MVC3 application and tried to implement the same thing - Called the LoadData function by $.ajax and populated the slick grid and then tried to select default id.</p>
  
  <p>I realized that the issue comes up only if the grid is in jquery-ui dialog.
  The same grid on the page works normally.</p>
  
  <p>Could it possibly be a bug that slick grid scroll works on page and not in dialog loaded by ajax call??</p>
  
  <p>Please help and let me know in case I need to share sample code.</p>
  
  <p><strong>UPDATE 3:</strong></p>
  
  <p>Added the sample code. Any help would be much appreciated!!</p>
  
  <p><a href="https://groups.google.com/forum/#!topic/slickgrid/CUjY3H1F_zM" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/slickgrid/CUjY3H1F_zM</a></p>