Skip to content

Commit

Permalink
v2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
paramquery committed Oct 19, 2015
1 parent 63cf20e commit 7a58f0b
Show file tree
Hide file tree
Showing 27 changed files with 13,246 additions and 5,125 deletions.
214 changes: 138 additions & 76 deletions ChangeLog.txt
@@ -1,76 +1,138 @@
Version: 1.1.3 Version 2.0.4 (10/19/2015)


1) Improved support for JSON: dataIndx can be int or String Addition:
2) flexWidth fix for IE10
3) Correction in camelCase cellKeyDown and cellEditKeyDown filter conditions: between, range, regexp, lte, gte, notbegin, notend

stringify
Version: 1.1.2 updateRow, getData

selectionModel: all, cbAll, cbHeader
Grouping bug fix. scrollModel: theme


Version: 1.1.1 Changes:


Options: bottomVisible, oddRowsHighlight, roundCorners, rowBorders rowSelect, rowUnSelect, cellSelect, cellUnSelect, pq-sb-vert, pq-sb-horiz
Methods: getEditCell
Events: cellEditKeyDown, cellKeyDown, rowDblClick

New features:
Version: 1.1.0 Nested grids & detail View (rowExpand,rowCollapse,rowInvalidate,detailModel)

multiple Selections with mouse drag.
internationalization and localization

Fixes:
Version: 1.0.9 IE7: group title, DnD headers, resizable handles.

Firefox: DnD headers (droppable areas)
ThemeRoller ready.

Migration steps:
Version: 1.0.8 Move paging properties from dataModel to pageModel.


1) Method: createTable
2) Events: refresh editModel

editor
Version: 1.0.7 validation

quitEditMode missing keys added
1) Page scroll till bottom. isValid
2) removal of $.browser isDirty
3) jQuery 1.9 compatibility. getRowsByClass
4) Option: topVisible. getRowIndx
5) Change adapter namespace to paramquery. getCellIndices change from $td to {$td:$td}

refreshView
Version: 1.0.6 column.validations

column.editModel
1) FlexHeight, FlexWidth & ScrollModel > horizontal
2) Added new scrollbar look. Migration steps:

View needs to be refreshed manually
Version: 1.0.5


Edit field and dataIndx bug fixes Fixes:

_refreshWidths
Version: 1.0.4 _refreshWidthsAutoFit

isEditableCell:
1) Header background css _pKeyNav._decrEditIndx
2) Nested colModels for grouped columns. _editCell
3) Name of column > saveCell callback changed to column > getEditCellData _getEditCellData
4) dataIndx introduced to bind colModel > columns with data columns explicitly. getCell
5) Events: cellSave, cellClick, cellDblClick, cellSelect, cellUnSelect, rowClick, rowSelect, rowUnSelect saveEditCell
6) Options: column > dataIndx, column > sortable, customData, editModel, hoverMode, selectionModel getRowIndx
7) Methods: getColIndxFromDataIndx, getCell, getEditCellData, getRow, isEditableCell, refreshCell, refreshColumn, refreshRow, selection _refreshSortingDataAndView
8) getSelection method removed. exportToExcel

rollback
Version: 1.0.3 commit

getChanges
1) Added beforeTableView event _refreshResizeColumnStop
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.1.3


Version: 1.0.2 1) Improved support for JSON: dataIndx can be int or String

2) flexWidth fix for IE10
1) Added render event. 3) Correction in camelCase cellKeyDown and cellEditKeyDown
2) Absolute address with paging made possible with setSelection and getSelection.
3) Support for adding toolbar. Version: 1.1.2


Version: 1.0.1 Grouping bug fix.


1) Added refresh button in pager. Version: 1.1.1
2) Added public methods: editCell,saveEditCell & quitEditMode.

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.


32 changes: 17 additions & 15 deletions README.md
@@ -1,6 +1,6 @@
jQuery grid plugin based on jQueryui widget design 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 Copyright (c) 2012-2015 Paramvir Dhindsa


Expand All @@ -22,34 +22,36 @@ ParamQuery grid is a lightweight jQuery grid plugin inspired by MS Excel and Goo
### Features: ### 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. 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... Many more...
``` ```
64 changes: 64 additions & 0 deletions array.htm
@@ -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>
6 changes: 3 additions & 3 deletions bower.json
@@ -1,7 +1,7 @@
{ {
"name": "pqGrid", "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.", "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": "1.1.3", "version": "2.0.4",
"author": { "author": {
"name": "Paramvir Singh Dhindsa", "name": "Paramvir Singh Dhindsa",
"email": "pdhindsa@paramquery.com", "email": "pdhindsa@paramquery.com",
Expand Down Expand Up @@ -31,6 +31,6 @@
"bugs": "https://github.com/paramquery/grid/issues", "bugs": "https://github.com/paramquery/grid/issues",
"dependencies": { "dependencies": {
"jquery": ">=1.7.0", "jquery": ">=1.7.0",
"jqueryui": ">=1.9.1" "jqueryui": ">=1.9.2"
} }
} }
Binary file added images/horiz-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/horiz-slider-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/loading.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/sprite.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/square_dirty.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vert-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vert-slider-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions index.htm
@@ -1,10 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML>
<html> <html>
<head> <head>
<!--jQuery dependencies--> <!--jQuery dependencies-->
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css" /> <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/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--> <!--PQ Grid files-->
<link rel="stylesheet" href="pqgrid.min.css" /> <link rel="stylesheet" href="pqgrid.min.css" />
<script src="pqgrid.min.js"></script> <script src="pqgrid.min.js"></script>
Expand Down

0 comments on commit 7a58f0b

Please sign in to comment.