ParamQuery Pro 7.0.0 Upgrade Guide

Overview

This guide is meant to assist in upgrading from ParamQuery Pro v6 to v7.0.0. Only changes which are impacted by upgrade are listed below, along with how to upgrade your code. For new features please refer the changeLog included in the SDK and refer to API and demos.

General Changes

Changes in the way grid stores cell style in json data

Grid

Static cell styles in json

In previous versions, static styles of cells are stored in rowData.pq_cellattr[ dataIndx ].style and static styles of rows are stored in rowData.pq_rowattr.style


In current version, static styles of cells are stored in rowData.pq_cellstyle[ dataIndx ] and static styles of rows are stored in rowData.pq_rowstyle

Style can be stored in object format i.e., { 'font-weight': 'bold', background: '#ff0000' } or string format i.e., 'font-weight:bold;background:#ff0000;'.

Object format is recommended over string format.