Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - parthcool07

Pages: [1]
1
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.

2
Yes sure, on resize event of pqGrid fn._refreshResizable , i am trying to set length of scroll bar as below code.

var tblID = $(this).attr('id');
$("#"+tblID).find(".pq-hscroll").css("width",that.element.width());

The Problem is when i have created a grid at that time scroll bar is working fine, but now if i am doing resize then it will not change length of scrollbar (horizontal and vertical) depending on width and height of grid. So I am trying to reassign height and width to vertical and horizontal scroll bar. But it is taking original length value at the time of grid created.

3
Hello,

I am trying to set hscroll and vscroll height and width programatically on grid resize.
But I can not set length of hscroll and vscroll.

looking for your reply.

Pages: [1]