1
Help for ParamQuery Grid (free version) / Re: Can not set hscroll and vscroll length programatically
« on: October 01, 2013, 10:46:47 am »
hello,
I have try to set as you say, but it is not updating length of horizontal and vertical scrollbar on grid resize event.
that.options.height = that.element.height();
that.options.width = that.element.width();
that.$hscroll.pqScrollBar({
direction: "horizontal",
pace:that.options.scrollModel.pace,
cur_pos: 0,
length:that.options.width}).pqScrollBar('refresh');
Can you please help me to solve this problem.
On resize grid view is not taking scrollbar length automatically.
I have try to set as you say, but it is not updating length of horizontal and vertical scrollbar on grid resize event.
that.options.height = that.element.height();
that.options.width = that.element.width();
that.$hscroll.pqScrollBar({
direction: "horizontal",
pace:that.options.scrollModel.pace,
cur_pos: 0,
length:that.options.width}).pqScrollBar('refresh');
Can you please help me to solve this problem.
On resize grid view is not taking scrollbar length automatically.