Hello All,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.I realized that the issue comes up only if the grid is in jquery-ui dialog. The same grid on the page works normally.Could it possibly be a bug that slick grid scroll works on page and not in dialog loaded by ajax call??Please help and let me know in case I need to share sample code
Hello All,
There are 2 jquery ajax calls in my sample code (attached in google groups link in UPDATE 3 in the question):
1) .load()
to load the empty jquery-dialog PartialView
2) .ajax()
called on document.ready
of partialView.js file to load the slick grid data. (partialView.js is referenced in PartialView.cshtml)
While trying many things, I found that when I put debugger;
just before the 2nd .ajax()
call and passed this debug point in chrome developer toolbar, the issue didn't seem to come.
So, I removed debugger;
and thought of introducing delay of 500 ms
window.setTimeout(functionToBeDelayed, requiredDelay);
and the functionality started to behave as expected.
I am still not sure how these nested ajax calls is causing the issue. But, as of now, 500 ms delay has done trick for me.
Looking forward for some better solution.