Skip to content

Commit 0eb6293

Browse files
committed
New stuff
1 parent 8639e90 commit 0eb6293

13 files changed

+410
-137
lines changed

CHANGELOG.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,39 @@
11
# Changelog
22

33
## 1.1.0
4-
- Added an option to define whether the search should be case sensitive or insensitive.
5-
- Custom header and body row class names (solved issue [#7](http://github.com/rstaib/jquery-bootgrid/issues/7))
6-
- Added `data-toggle` attribute like bootstrap controls support
7-
- Added request and response converter (solved issue [#3](http://github.com/rstaib/jquery-bootgrid/issues/3))
8-
- Added WIA-ARIA busy attribute to indicate that the table is loading
4+
5+
### Enhancements & Features
6+
- (Done) New option to switch the search behaviour from case sensitive to case insensitive.
7+
- Individual column filters
8+
- (Done) Custom CSS classes for header and body cells (solved issue [#7](http://github.com/rstaib/jquery-bootgrid/issues/7))
9+
- (Done) New data attribute `data-toggle` to initialize bootgrid without writing any line of code (like bootstrap controls support)
10+
- (Done) Request and response handler to support JSON object transformation (solved issue [#3](http://github.com/rstaib/jquery-bootgrid/issues/3))
11+
- (Done) WIA-ARIA busy attribute to indicate that the table is loading
912
- Metadata for rows
10-
- Maintain row selection during filtering and sorting
13+
- New behaviour to maintain row selection during filtering and sorting
14+
- Entire row click selection
15+
- New events (`click`, `dblclick` and `rightclick`)
16+
- (Done) Responsive table support
17+
- New methods (`select` and `deselect`)
18+
19+
### Bug Fixes
20+
- (Done) Fixed an AJAX issue where multiple fast clicks could lead to strange results
1121

1222
## 1.0.0
23+
24+
### Enhancements & Features
1325
- Public functions for dynamic manipulation such as append and remove row(s)
1426
- Client-side data support (without ajax calls)
1527
- Row selecton (multi and single)
1628
- Show/Hide column headers
1729
- Improved formatters (former know as `data-custom="true"`)
1830
- Added type converters per column (`data-converter="string|numeric|custom"`)
19-
- Fixed multi sorting issue
2031
- Added new events (selected, deselected, appended, removed, cleared, initialize, initialized)
2132
- Added column attribute `data-header-align` to set the alignment of the header cell independent from the body cells (solved issue [#10](http://github.com/rstaib/jquery-bootgrid/issues/10))
2233

34+
### Bug Fixes
35+
- Fixed multi sorting issue
36+
2337
### Breaking Changes
2438
- `data-custom` is now `data-formatter` and instead of being a `bool` it is a event name
2539

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module.exports = function (grunt)
1313
banner: '/*! <%= "\\r\\n * " + pkg.title %> v<%= pkg.version %> - <%= grunt.template.today("mm/dd/yyyy") + "\\r\\n" %>' +
1414
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> <%= (pkg.homepage ? "(" + pkg.homepage + ")" : "") + "\\r\\n" %>' +
1515
' * Licensed under <%= pkg.licenses[0].type + " " + pkg.licenses[0].url + "\\r\\n */\\r\\n" %>' +
16-
';(function ($, window, document, undefined)\r\n{\r\n /*jshint validthis: true */\r\n "use strict";\r\n\r\n',
17-
footer: '\r\n})(jQuery, window, document);',
16+
';(function ($, window, undefined)\r\n{\r\n /*jshint validthis: true */\r\n "use strict";\r\n\r\n',
17+
footer: '\r\n})(jQuery, window);',
1818
process: function(src, filepath)
1919
{
2020
var result = src.trim().replace(/(.+?\r\n)/gm, ' $1'),

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Everything you need to start quickly is:
1212
1. Include **jQuery**, **jQuery Bootgrid** and **Bootstrap** libraries in your HTML code.
1313
2. Define your table layout and your data columns by adding the `data-column-id` attribute.
1414
3. Specify your data URL used to fill your data table and set ajax option to `true` directly on your table via data API.
15-
4. Then select the previously defined `table` element represents your data table and initialize the `bootgrid` plugin with one line.
1615

1716
```html
1817
<!DOCTYPE html>
698 Bytes
Binary file not shown.
1010 Bytes
Binary file not shown.

build/jquery.bootgrid.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,20 @@
107107
.bootgrid-table td.select-cell .select-box {
108108
margin: 0;
109109
}
110+
.table-responsive .bootgrid-table {
111+
table-layout: inherit !important;
112+
}
113+
.table-responsive .bootgrid-table th > .column-header-anchor > .text {
114+
overflow: inherit !important;
115+
-ms-text-overflow: inherit !important;
116+
-o-text-overflow: inherit !important;
117+
text-overflow: inherit !important;
118+
white-space: inherit !important;
119+
}
120+
.table-responsive .bootgrid-table td {
121+
overflow: inherit !important;
122+
-ms-text-overflow: inherit !important;
123+
-o-text-overflow: inherit !important;
124+
text-overflow: inherit !important;
125+
white-space: inherit !important;
126+
}

0 commit comments

Comments
 (0)