Author Topic: Upgrade to Pro Version 2.1.0  (Read 6833 times)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5645
    • View Profile
Upgrade to Pro Version 2.1.0
« on: May 28, 2014, 03:28:26 am »
Dear All
 
Pro version 2.1.0 contains many new cool features i.e.,

1) Support for non virtual mode. Virtual rendering is a huge performance booster but sometimes an overkill when all one care is to display a few records or columns per page. This version introduces non virtual mode.

Switching between virtual and non-virtual mode is quite easy, it's only a matter of specifying options virtualX and virtualY which are boolean values for respective axis x and y. Virtual and non - virtual mode can co-exist by specifying virtualX as true while virtualY as false and vice versa. For example in this demo http://paramquery.com/pro/demos/nesting, it's virtual mode in horizontal direction so virtualX is true while non-virtual mode in vertical direction so virtualY is false.

Virtual and non-virtual modes are supported for all the features i.e., sorting, paging, filtering, row grouping, column grouping, nesting, detail etc though there is a tradeoff between the two. While virtual mode enhances performance, smooth scrolling and swipe doesn't go along with it, conversely non-virtual mode enables support for smooth scrolling and swipe.

2) swipe support for desktops and touch devices for convenient horizontal and vertical scrolling. In the context of software applications, swipe is a gesture that aids in scrolling of the viewport by dragging of the mouse or touch pointer inside the viewport itself.

3) Fluid layouts whereby grid width / height and column widths can be specified in pixel, percent % and 'auto' While previous versions supported width in %, the difference this version makes is that pqGrid can resize itself with resize of the browser. px and % can be intermixed for grid dimensions by specifying px and % together e.g., '80%+20'


Best Regards
The ParamQuery Team
« Last Edit: July 25, 2014, 06:38:19 pm by paramquery »

MatsP

  • Pro Economy
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Upgrade to Pro Version 2.1.0
« Reply #1 on: May 29, 2014, 11:33:24 am »
Can't find where you have posted instructions on how to migrate from an older version of ParamQuery?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5645
    • View Profile
Re: Upgrade to Pro Version 2.1.0
« Reply #2 on: July 25, 2014, 06:35:31 pm »
Dear All

As an addition to the above post, grouped columns is known to be incompatible with virtual rendering on x axis i.e., virtualX: true

Reason: Grouped columns rely on rowspan and colspan to layout the header which has a limitation in that it can't work when only the cells visible in the viewport have to be rendered in virtual mode, so just keep virtualX = false when working with grouped columns.

Detail row/ Nesting feature is incompatible with non virtual mode on y axis i.e., virtualY: false only when used along with frozen columns or frozen number cell.

Best Regards
The ParamQuery Team
« Last Edit: July 25, 2014, 06:56:22 pm by paramquery »