Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

Commit d197f96

Browse files
committed
Version 0.1.4
1 parent 2606a95 commit d197f96

File tree

11 files changed

+100
-117
lines changed

11 files changed

+100
-117
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### 0.1.4
2+
- Fixed text-overflow: ellipsis in backgrid.css.
3+
[Issue #57](https://github.com/wyuenho/backgrid/pull/57)
4+
- Fixed bug where removing a hidden column removes the wrong column of
5+
cells. [Issue #58](https://github.com/wyuenho/backgrid/issues/58)
6+
- A hidden column is now hidden from the DOM instead of
7+
detached. [Issue #60](https://github.com/wyuenho/backgrid/issues/60)
8+
19
### 0.1.3
210

311
- Fixed 2 security vulnerabilities in SelectCellEditor and TextareaCellEditor.

api/data-3630b11dfabe7aa0e3c4a4817775cd6e.js renamed to api/data-50f15e8f0e127fae72c87af186ac8228.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,11 +1875,12 @@ Docs = {
18751875
"sort": 3
18761876
},
18771877
{
1878-
"name": "renderColumn",
1879-
"fullName": "Backgrid.Row.renderColumn",
1878+
"name": "makeCell",
1879+
"fullName": "Backgrid.Row.makeCell",
18801880
"icon": "icon-method",
1881-
"url": "#!/api/Backgrid.Row-method-renderColumn",
1881+
"url": "#!/api/Backgrid.Row-method-makeCell",
18821882
"meta": {
1883+
"protected": true
18831884
},
18841885
"sort": 3
18851886
},

api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="stylesheet" href="resources/css/app-1dec1b800f7fee208bc8260fa2fd1d22.css" type="text/css" />
1313

1414
<script type="text/javascript" src="extjs/ext-all.js"></script>
15-
<script type="text/javascript" src="data-3630b11dfabe7aa0e3c4a4817775cd6e.js"></script>
15+
<script type="text/javascript" src="data-50f15e8f0e127fae72c87af186ac8228.js"></script>
1616

1717
<script type="text/javascript" src="app-c6fdef5b424714d909c92c47a65b7a8f.js"></script>
1818

api/output/Backgrid.Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Ext.data.JsonP.Backgrid_Header({
7777

7878
]
7979
},
80-
"linenr": 269,
80+
"linenr": 248,
8181
"files": [
8282
{
8383
"filename": "header.js",

api/output/Backgrid.HeaderRow.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,31 @@ Ext.data.JsonP.Backgrid_HeaderRow({
4949
"id": "method-initialize"
5050
},
5151
{
52-
"name": "remove",
52+
"name": "makeCell",
5353
"tagname": "method",
5454
"owner": "Backgrid.Row",
5555
"meta": {
56-
"chainable": true
56+
"protected": true
5757
},
58-
"id": "method-remove"
58+
"id": "method-makeCell"
5959
},
6060
{
61-
"name": "render",
61+
"name": "remove",
6262
"tagname": "method",
6363
"owner": "Backgrid.Row",
6464
"meta": {
6565
"chainable": true
6666
},
67-
"id": "method-render"
67+
"id": "method-remove"
6868
},
6969
{
70-
"name": "renderColumn",
70+
"name": "render",
7171
"tagname": "method",
7272
"owner": "Backgrid.Row",
7373
"meta": {
74+
"chainable": true
7475
},
75-
"id": "method-renderColumn"
76+
"id": "method-render"
7677
}
7778
],
7879
"event": [
@@ -128,5 +129,5 @@ Ext.data.JsonP.Backgrid_HeaderRow({
128129
"parentMixins": [
129130

130131
],
131-
"html": "<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Backbone.View<div class='subclass '><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='docClass'>Backgrid.Row</a><div class='subclass '><strong>Backgrid.HeaderRow</strong></div></div></div></pre><div class='doc-contents'><p>HeaderRow is a controller for a row of header cells.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-tagName' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-property-tagName' class='name expandable'>tagName</a><span> : String</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>&quot;tr&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-initialize' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.HeaderRow'>Backgrid.HeaderRow</span><br/></div><a href='#!/api/Backgrid.HeaderRow-method-initialize' class='name expandable'>initialize</a>( <span class='pre'>options</span> )</div><div class='description'><div class='short'>Initializer. ...</div><div class='long'><p>Initializer.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n<ul><li><span class='pre'>columns</span> : Backbone.Collection.&lt;<a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a>&gt;|Array.&lt;<a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a>&gt;|Array.&lt;Object&gt;<div class='sub-desc'></div></li><li><span class='pre'>headerCell</span> : <a href=\"#!/api/Backgrid.HeaderCell\" rel=\"Backgrid.HeaderCell\" class=\"docClass\">Backgrid.HeaderCell</a> (optional)<div class='sub-desc'><p>Customized default\nHeaderCell for all the columns. Supply a HeaderCell class or instance to a\nthe <code>headerCell</code> key in a column definition for column-specific header\nrendering.</p>\n</div></li></ul></div></li></ul><h3 class='pa'>Throws</h3><ul><li><span class='pre'>TypeError</span><div class='sub-desc'><p>If options.columns or options.collection is undefined.</p>\n</div></li></ul><p>Overrides: <a href='#!/api/Backgrid.Row-method-initialize' rel='Backgrid.Row-method-initialize' class='docClass'>Backgrid.Row.initialize</a></p></div></div></div><div id='method-remove' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-method-remove' class='name expandable'>remove</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Clean up this row and its cells. ...</div><div class='long'><p>Clean up this row and its cells.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-render' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-method-render' class='name expandable'>render</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Renders a row of cells for this row's model. ...</div><div class='long'><p>Renders a row of cells for this row's model.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-renderColumn' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-method-renderColumn' class='name expandable'>renderColumn</a>( <span class='pre'>column, renderable</span> )</div><div class='description'><div class='short'>Backbone event handler. ...</div><div class='long'><p>Backbone event handler. Insert a table cell to the right column in the row\nif renderable is true, detach otherwise.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>column</span> : <a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a><div class='sub-desc'>\n</div></li><li><span class='pre'>renderable</span> : boolean<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>"
132+
"html": "<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Backbone.View<div class='subclass '><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='docClass'>Backgrid.Row</a><div class='subclass '><strong>Backgrid.HeaderRow</strong></div></div></div></pre><div class='doc-contents'><p>HeaderRow is a controller for a row of header cells.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-tagName' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-property-tagName' class='name expandable'>tagName</a><span> : String</span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>&quot;tr&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-initialize' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Backgrid.HeaderRow'>Backgrid.HeaderRow</span><br/></div><a href='#!/api/Backgrid.HeaderRow-method-initialize' class='name expandable'>initialize</a>( <span class='pre'>options</span> )</div><div class='description'><div class='short'>Initializer. ...</div><div class='long'><p>Initializer.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n<ul><li><span class='pre'>columns</span> : Backbone.Collection.&lt;<a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a>&gt;|Array.&lt;<a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a>&gt;|Array.&lt;Object&gt;<div class='sub-desc'></div></li><li><span class='pre'>headerCell</span> : <a href=\"#!/api/Backgrid.HeaderCell\" rel=\"Backgrid.HeaderCell\" class=\"docClass\">Backgrid.HeaderCell</a> (optional)<div class='sub-desc'><p>Customized default\nHeaderCell for all the columns. Supply a HeaderCell class or instance to a\nthe <code>headerCell</code> key in a column definition for column-specific header\nrendering.</p>\n</div></li></ul></div></li></ul><h3 class='pa'>Throws</h3><ul><li><span class='pre'>TypeError</span><div class='sub-desc'><p>If options.columns or options.collection is undefined.</p>\n</div></li></ul><p>Overrides: <a href='#!/api/Backgrid.Row-method-initialize' rel='Backgrid.Row-method-initialize' class='docClass'>Backgrid.Row.initialize</a></p></div></div></div><div id='method-makeCell' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-method-makeCell' class='name expandable'>makeCell</a>( <span class='pre'>column, options</span> ) : <a href=\"#!/api/Backgrid.Cell\" rel=\"Backgrid.Cell\" class=\"docClass\">Backgrid.Cell</a><strong class='protected signature' >protected</strong></div><div class='description'><div class='short'>Factory method for making a cell. ...</div><div class='long'><p>Factory method for making a cell. Used by <a href=\"#!/api/Backgrid.Row-method-initialize\" rel=\"Backgrid.Row-method-initialize\" class=\"docClass\">initialize</a> internally. Override\nthis to provide an appropriate cell instance for a custom Row subclass.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>column</span> : <a href=\"#!/api/Backgrid.Column\" rel=\"Backgrid.Column\" class=\"docClass\">Backgrid.Column</a><div class='sub-desc'>\n</div></li><li><span class='pre'>options</span> : Object<div class='sub-desc'><p>The options passed to <a href=\"#!/api/Backgrid.Row-method-initialize\" rel=\"Backgrid.Row-method-initialize\" class=\"docClass\">initialize</a>.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Cell\" rel=\"Backgrid.Cell\" class=\"docClass\">Backgrid.Cell</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-remove' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-method-remove' class='name expandable'>remove</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Clean up this row and its cells. ...</div><div class='long'><p>Clean up this row and its cells.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-render' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Backgrid.Row' rel='Backgrid.Row' class='defined-in docClass'>Backgrid.Row</a><br/></div><a href='#!/api/Backgrid.Row-method-render' class='name expandable'>render</a>( <span class='pre'></span> ) : <a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a><strong class='chainable signature' >chainable</strong></div><div class='description'><div class='short'>Renders a row of cells for this row's model. ...</div><div class='long'><p>Renders a row of cells for this row's model.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Backgrid.Row\" rel=\"Backgrid.Row\" class=\"docClass\">Backgrid.Row</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div></div></div></div></div>"
132133
});

0 commit comments

Comments
 (0)