Permalink
Browse files

v2.0.4

  • Loading branch information...
1 parent 63cf20e commit 7a58f0b354a07fbb6614fd77a6d4a5357fa52cd9 @paramquery committed Oct 19, 2015
View
@@ -1,76 +1,138 @@
-Version: 1.1.3
-
-1) Improved support for JSON: dataIndx can be int or String
-2) flexWidth fix for IE10
-3) Correction in camelCase cellKeyDown and cellEditKeyDown
-
-Version: 1.1.2
-
-Grouping bug fix.
-
-Version: 1.1.1
-
-Options: bottomVisible, oddRowsHighlight, roundCorners, rowBorders
-Methods: getEditCell
-Events: cellEditKeyDown, cellKeyDown, rowDblClick
-
-Version: 1.1.0
-
-internationalization and localization
-
-Version: 1.0.9
-
-ThemeRoller ready.
-
-Version: 1.0.8
-
-1) Method: createTable
-2) Events: refresh
-
-Version: 1.0.7
-
-1) Page scroll till bottom.
-2) removal of $.browser
-3) jQuery 1.9 compatibility.
-4) Option: topVisible.
-5) Change adapter namespace to paramquery.
-
-Version: 1.0.6
-
-1) FlexHeight, FlexWidth & ScrollModel > horizontal
-2) Added new scrollbar look.
-
-Version: 1.0.5
-
-Edit field and dataIndx bug fixes
-
-Version: 1.0.4
-
-1) Header background css
-2) Nested colModels for grouped columns.
-3) Name of column > saveCell callback changed to column > getEditCellData
-4) dataIndx introduced to bind colModel > columns with data columns explicitly.
-5) Events: cellSave, cellClick, cellDblClick, cellSelect, cellUnSelect, rowClick, rowSelect, rowUnSelect
-6) Options: column > dataIndx, column > sortable, customData, editModel, hoverMode, selectionModel
-7) Methods: getColIndxFromDataIndx, getCell, getEditCellData, getRow, isEditableCell, refreshCell, refreshColumn, refreshRow, selection
-8) getSelection method removed.
-
-Version: 1.0.3
-
-1) Added beforeTableView event
-2) Added DataModel > error method
-3) Added classes pq-row-select,pq-cell-select,pq-grid-row, pq-grid-row-hover
-4) Added scrollPace option
-
-Version: 1.0.2
-
-1) Added render event.
-2) Absolute address with paging made possible with setSelection and getSelection.
-3) Support for adding toolbar.
-
-Version: 1.0.1
-
-1) Added refresh button in pager.
-2) Added public methods: editCell,saveEditCell & quitEditMode.
-
-
+Version 2.0.4 (10/19/2015)
+
+Addition:
+
+filter conditions: between, range, regexp, lte, gte, notbegin, notend
+stringify
+updateRow, getData
+selectionModel: all, cbAll, cbHeader
+scrollModel: theme
+
+Changes:
+
+rowSelect, rowUnSelect, cellSelect, cellUnSelect, pq-sb-vert, pq-sb-horiz
+
+
+New features:
+Nested grids & detail View (rowExpand,rowCollapse,rowInvalidate,detailModel)
+multiple Selections with mouse drag.
+
+Fixes:
+IE7: group title, DnD headers, resizable handles.
+Firefox: DnD headers (droppable areas)
+
+Migration steps:
+Move paging properties from dataModel to pageModel.
+
+
+editModel
+editor
+validation
+quitEditMode missing keys added
+isValid
+isDirty
+getRowsByClass
+getRowIndx
+getCellIndices change from $td to {$td:$td}
+refreshView
+column.validations
+column.editModel
+
+Migration steps:
+View needs to be refreshed manually
+
+
+Fixes:
+_refreshWidths
+_refreshWidthsAutoFit
+isEditableCell:
+_pKeyNav._decrEditIndx
+_editCell
+_getEditCellData
+getCell
+saveEditCell
+getRowIndx
+_refreshSortingDataAndView
+exportToExcel
+rollback
+commit
+getChanges
+_refreshResizeColumnStop
+
+
+Version: 1.1.3
+
+1) Improved support for JSON: dataIndx can be int or String
+2) flexWidth fix for IE10
+3) Correction in camelCase cellKeyDown and cellEditKeyDown
+
+Version: 1.1.2
+
+Grouping bug fix.
+
+Version: 1.1.1
+
+Options: bottomVisible, oddRowsHighlight, roundCorners, rowBorders
+Methods: getEditCell
+Events: cellEditKeyDown, cellKeyDown, rowDblClick
+
+Version: 1.1.0
+
+internationalization and localization
+
+Version: 1.0.9
+
+ThemeRoller ready.
+
+Version: 1.0.8
+
+1) Method: createTable
+2) Events: refresh
+
+Version: 1.0.7
+
+1) Page scroll till bottom.
+2) removal of $.browser
+3) jQuery 1.9 compatibility.
+4) Option: topVisible.
+5) Change adapter namespace to paramquery.
+
+Version: 1.0.6
+
+1) FlexHeight, FlexWidth & ScrollModel > horizontal
+2) Added new scrollbar look.
+
+Version: 1.0.5
+
+Edit field and dataIndx bug fixes
+
+Version: 1.0.4
+
+1) Header background css
+2) Nested colModels for grouped columns.
+3) Name of column > saveCell callback changed to column > getEditCellData
+4) dataIndx introduced to bind colModel > columns with data columns explicitly.
+5) Events: cellSave, cellClick, cellDblClick, cellSelect, cellUnSelect, rowClick, rowSelect, rowUnSelect
+6) Options: column > dataIndx, column > sortable, customData, editModel, hoverMode, selectionModel
+7) Methods: getColIndxFromDataIndx, getCell, getEditCellData, getRow, isEditableCell, refreshCell, refreshColumn, refreshRow, selection
+8) getSelection method removed.
+
+Version: 1.0.3
+
+1) Added beforeTableView event
+2) Added DataModel > error method
+3) Added classes pq-row-select,pq-cell-select,pq-grid-row, pq-grid-row-hover
+4) Added scrollPace option
+
+Version: 1.0.2
+
+1) Added render event.
+2) Absolute address with paging made possible with setSelection and getSelection.
+3) Support for adding toolbar.
+
+Version: 1.0.1
+
+1) Added refresh button in pager.
+2) Added public methods: editCell,saveEditCell & quitEditMode.
+
+
View
@@ -1,6 +1,6 @@
jQuery grid plugin based on jQueryui widget design
==================================================
-[ParamQuery Grid](http://paramquery.com) a.k.a. pqGrid v1.1
+[ParamQuery Grid](http://paramquery.com) a.k.a. pqGrid v2.0
Copyright (c) 2012-2015 Paramvir Dhindsa
@@ -22,34 +22,36 @@ ParamQuery grid is a lightweight jQuery grid plugin inspired by MS Excel and Goo
### Features:
```
-It's designed on jQueryui widget pattern so it has all the advantages of it e.g. changing any
-option during runtime, methods like enable, disable, destroy, etc.
-Sorting for common data formats like Integer, real numbers, Strings, etc.
+Local, remote and custom sorting for common data formats like Integer, real numbers, Strings, etc.
-Support for custom sorting through callback function.
+Local and remote filtering with header filtering row interface.
Paging with local (Browser) or remote (Ajax) data in any format.
-Freeze any number of Columns like Excel.
+Column and row grouping and fixed summary row.
-Connect to any data source format like HTML, Array, XML, JSON, etc locally or remotely through Ajax.
+Frozen rows & columns like Excel.
-Can be used with any server side framework e.g. ASP.NET, MVC3, JSP, JSF, PHP, etc.
+Export to Excel & CSV format.
+
+Nesting of grids and row details.
-Minimal impact on performance with increase in number of records thanks to Virtual Scrolling and Rendering.
+Virtual Scrolling and Rendering with unlimited rows and columns support.
-Inline Editing of cells with support to plugin custom editors.
+Inline Editing: Batch editing, row editing, custom editors, multiline editing, validations.
-Resizable columns.
+Hide/ show columns, resizable and reorderable columns through drag and drop.
-Resizable height and width.
+Theme support.
-Customizable theme.
+i18n.
-Hiding / Showing columns.
+Consistent look and functionality across all major browsers IE(8+), Firefox, Chrome, Opera, etc
-Consistent look and functionality across all major browsers IE(6+), Firefox, Chrome, Opera, etc
+Display any data source format like HTML, Array, XML, JSON, etc locally or remotely through Ajax.
+
+Can be used with any server side framework e.g. ASP.NET, MVC3, JSP, JSF, PHP, etc.
Many more...
```
View
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html>
+<head>
+<!--jQuery dependencies-->
+ <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css" />
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
+
+<!--PQ Grid files-->
+ <link rel="stylesheet" href="pqgrid.min.css" />
+ <script src="pqgrid.min.js"></script>
+<!--PQ Grid Office theme-->
+ <link rel="stylesheet" href="themes/office/pqgrid.css" />
+
+<script>
+ $(function () {
+ var data = [[1, 'Exxon Mobil', '339938.0', '36130.0'],
+ [2, 'Wal-Mart Stores', '315654.0', '11231.0'],
+ [3, 'Royal Dutch Shell', '306731.0', '25311.0'],
+ [4, 'BP', '267600.0', '22341.0'],
+ [5, 'General Motors', '192604.0', '-10567.0'],
+ [6, 'Chevron', '189481.0', '14099.0'],
+ [7, 'DaimlerChrysler', '186106.3', '3536.3'],
+ [8, 'Toyota Motor', '185805.0', '12119.6'],
+ [9, 'Ford Motor', '177210.0', '2024.0'],
+ [10, 'ConocoPhillips', '166683.0', '13529.0'],
+ [11, 'General Electric', '157153.0', '16353.0'],
+ [12, 'Total', '152360.7', '15250.0'],
+ [13, 'ING Group', '138235.3', '8958.9'],
+ [14, 'Citigroup', '131045.0', '24589.0'],
+ [15, 'AXA', '129839.2', '5186.5'],
+ [16, 'Allianz', '121406.0', '5442.4'],
+ [17, 'Volkswagen', '118376.6', '1391.7'],
+ [18, 'Fortis', '112351.4', '4896.3'],
+ [19, 'Crédit Agricole', '110764.6', '7434.3'],
+ [20, 'American Intl. Group', '108905.0', '10477.0']];
+
+ var obj = {
+ width: 700,
+ height: 400,
+ numberCell:{resizable:true,title:"#",width:30,minWidth:30},
+ editor: {type: 'textbox'},
+ title: "ParamQuery Grid with Array data",
+ resizable:true,
+ scrollModel:{autoFit:true, theme:true},
+ draggable:true
+ };
+ obj.colModel = [
+ { title: "Rank", width: 100, dataType: "integer" },
+ { title: "Company", width: 200, dataType: "string" },
+ { title: "Revenues ($ millions)", width: 150, dataType: "float", align: "right" },
+ { title: "Profits ($ millions)", width: 150, dataType: "float", align: "right"}
+ ];
+ obj.dataModel = { data: data };
+ $("#grid_array").pqGrid(obj);
+ });
+
+</script>
+</head>
+<body>
+<div id="grid_array" style="margin:100px;"></div>
+</body>
+
+</html>
View
@@ -1,7 +1,7 @@
{
"name": "pqGrid",
- "description": "Data grid inspired by MS Excel, provides sorting, paging, grouping, rows and cell selections, frozen rows, frozen columns, Add, delete, update, search, can display HTML, JSON, Array, XML, inline editing, virtual rendering, virtual scrolling, cross browser, cross platform, Themeroller ready with 24 ready to use themes.",
- "version": "1.1.3",
+ "description": "Data grid inspired by MS Excel, provides sorting, filtering, paging, grouping, nesting, rows and cell selections, frozen rows, frozen columns, Add, delete, update, search, can display HTML, JSON, Array, XML, inline editing, validations, virtual rendering, virtual scrolling, cross browser, cross platform, Themeroller ready with 24 ready to use themes.",
+ "version": "2.0.4",
"author": {
"name": "Paramvir Singh Dhindsa",
"email": "pdhindsa@paramquery.com",
@@ -31,6 +31,6 @@
"bugs": "https://github.com/paramquery/grid/issues",
"dependencies": {
"jquery": ">=1.7.0",
- "jqueryui": ">=1.9.1"
+ "jqueryui": ">=1.9.2"
}
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,10 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML>
<html>
<head>
<!--jQuery dependencies-->
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<!--PQ Grid files-->
<link rel="stylesheet" href="pqgrid.min.css" />
<script src="pqgrid.min.js"></script>
Oops, something went wrong.

0 comments on commit 7a58f0b

Please sign in to comment.