How does one get the scrollTop value from a EScrollableGridView widget?
How does one get the scrollTop value from a EScrollableGridView widget?
I was really referring to the EScrollableGridView extension.
Thanks
In case any one else runs into this, I found a solution by adding a couple of functions to the jquery.tablescroll.js file of the extension in order to access the scroll position.
$.fn.tableScroll = function(options, value)
{
if (options == 'undo')
{
var container = $(this).parent().parent();
if (container.hasClass('tablescroll_wrapper'))
{
container.find('.tablescroll_head thead').prependTo(this);
container.find('.tablescroll_foot tfoot').appendTo(this);
container.before(this);
container.empty();
}
return;
}
if( options == 'getScrollTop')
{
return $("div.tablescroll_wrapper").scrollTop();
}
if( options == 'setScrollTop')
{
$("div.tablescroll_wrapper").scrollTop(value);
return;
}
....