Skip to content

Commit

Permalink
fixed column editor icon
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewirts committed Jul 1, 2015
1 parent 945643a commit d839f5d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions fin-hypergrid.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -22826,7 +22826,7 @@
['reset', 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAL8SURBVDhPbZLZTxNRFMbnDzD65BsurC2tSFlENiG4EARBguzIGkBDwKAsIqA+EAIE45JgogaCxrdqgiQmxhAVjWIEpEioChRKUGmZTpeZaSlQ6OedoVYxnOSXe893vnPvzcml/o+V4WGJrbOmgm+tVLJN+UqeYL1Zp+TbLpy1qz7ud9m2D+u9tjq+qYTmLmbZuUvZIOsmNTnCauOvlWuX77dHuux/wzQ6sIvrbOziKrPBlqa64ZsrwF8u26Jxl4pg7WppxuSbHa52iuJry9rZgtOwZCdsUpgKC8nXtRqsDQ2SxgxY8pPddZbU2drSarHZdqsjxXTqqNl8MhYCXEkO1j59AFeeD6fFDMcXFazkQseECmxBuugROZMwtXKrQ0KxRdl95mPRMMdFgi3KxYZuEWtjn2FJT4HTTA4YHwN7rgTr8/PkkHFYUhNFrzkhjryssIgyRkWOmYKDYAoLxUr/MziNRmI6DUFzmkxwjI6Ie0tWJpwMA+5KA0whwaJmSkrqpgwSuZqRyGAMjyY3q2BXPgEjkRNkZAZarL56Le4FbfXlAGw9vTAGKETNKA1QUkxolJX28IEhOAJr4xOwPeiBkAswMSfAhMe6c/vTPtgePgbtLRdzY0o6Tem85WrdHl/opYFYffeevGIc+n1+ELR/ETTHt+/gWjug85SKGq0IU1K/5CFvf+71gwDXcQNO+wrMDVfF/F+4zt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CAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC41ZYUyZQAAAPBJREFUOE9jUKtncAbi/0RgZwZsACQBUqDdxPbGsJ1vGxRvBWGdZvZLRBtg2M67ASoEBzA5KCbLABGNBqZ5QPqcdjM7yEWToepFoEoIGqAG8hpIHhkDDTsDpCGGABlYDQAp0Gxk+QSSA2EgEABhGB9o8DGQGpwGaDezTYApBmF0A6DYGacBRh38+0HiMI3omPYGUOwFoBgoEL9CFWIYALTgBEgNTgNAACiuptXE+gEkj4yB6eEckMYfjSAAUqRezzQXSJ8Hatqp28I5C8iuBYlDlRA0ACwHxQQz02tgBtoEMgiGgSnuLNEGEIGxGMDAAABcZRf1Zw1tiwAAAABJRU5ErkJggg=='],

['up-rectangle', 'iVBORw0KGgoAAAANSUhEUgAAAAkAAAAECAYAAABcDxXOAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTFH80I3AAAAHklEQVQYV2PAAv5DaZwApACGsQJkBVgVYlMAxQwMABOrD/GvP+EWAAAAAElFTkSuQmCC'],
['down-rectangle', 'iVBORw0KGgoAAAANSUhEUgAAAAkAAAAECAYAAABcDxXOAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAABpJREFUGFdjgIL/eDAKIKgABggqgAE0BQwMAPTlD/Fpi0JfAAAAAElFTkSuQmCC'],
Expand Down Expand Up @@ -29016,6 +29016,8 @@
}
image = this.getImage('add-column').cloneNode();
bbh.appendChild(image);
image.setAttribute('title', 'open/close column editor');

if (this.isColumnReorderable()) {
image.onclick = function() {
self.toggleColumnPicker();
Expand All @@ -29039,7 +29041,7 @@
fn: buttonLabel
};
this.sendMessage(bbClick);
this.autosizeColumns();
//this.autosizeColumns();
}

});
Expand Down
4 changes: 2 additions & 2 deletions fin-hypergrid.min.html

Large diffs are not rendered by default.

Binary file modified images/add-column.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion polymer/js/behaviors/fin-hypergrid-behavior-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ it contains all code/data that's necessary for easily implementing a virtual dat
['reset', 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAL8SURBVDhPbZLZTxNRFMbnDzD65BsurC2tSFlENiG4EARBguzIGkBDwKAsIqA+EAIE45JgogaCxrdqgiQmxhAVjWIEpEioChRKUGmZTpeZaSlQ6OedoVYxnOSXe893vnPvzcml/o+V4WGJrbOmgm+tVLJN+UqeYL1Zp+TbLpy1qz7ud9m2D+u9tjq+qYTmLmbZuUvZIOsmNTnCauOvlWuX77dHuux/wzQ6sIvrbOziKrPBlqa64ZsrwF8u26Jxl4pg7WppxuSbHa52iuJry9rZgtOwZCdsUpgKC8nXtRqsDQ2SxgxY8pPddZbU2drSarHZdqsjxXTqqNl8MhYCXEkO1j59AFeeD6fFDMcXFazkQseECmxBuugROZMwtXKrQ0KxRdl95mPRMMdFgi3KxYZuEWtjn2FJT4HTTA4YHwN7rgTr8/PkkHFYUhNFrzkhjryssIgyRkWOmYKDYAoLxUr/MziNRmI6DUFzmkxwjI6Ie0tWJpwMA+5KA0whwaJmSkrqpgwSuZqRyGAMjyY3q2BXPgEjkRNkZAZarL56Le4FbfXlAGw9vTAGKETNKA1QUkxolJX28IEhOAJr4xOwPeiBkAswMSfAhMe6c/vTPtgePgbtL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bjBndJkT8Z9giIMWFV+aCv8A+AtPY+n/U1kAAAAASUVORK5CYII='],
['add-column', 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC41ZYUyZQAAAPBJREFUOE9jUKtncAbi/0RgZwZsACQBUqDdxPbGsJ1vGxRvBWGdZvZLRBtg2M67ASoEBzA5KCbLABGNBqZ5QPqcdjM7yEWToepFoEoIGqAG8hpIHhkDDTsDpCGGABlYDQAp0Gxk+QSSA2EgEABhGB9o8DGQGpwGaDezTYApBmF0A6DYGacBRh38+0HiMI3omPYGUOwFoBgoEL9CFWIYALTgBEgNTgNAACiuptXE+gEkj4yB6eEckMYfjSAAUqRezzQXSJ8Hatqp28I5C8iuBYlDlRA0ACwHxQQz02tgBtoEMgiGgSnuLNEGEIGxGMDAAABcZRf1Zw1tiwAAAABJRU5ErkJggg=='],

['up-rectangle', 'iVBORw0KGgoAAAANSUhEUgAAAAkAAAAECAYAAABcDxXOAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTFH80I3AAAAHklEQVQYV2PAAv5DaZwApACGsQJkBVgVYlMAxQwMABOrD/GvP+EWAAAAAElFTkSuQmCC'],
['down-rectangle', 'iVBORw0KGgoAAAANSUhEUgAAAAkAAAAECAYAAABcDxXOAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAABpJREFUGFdjgIL/eDAKIKgABggqgAE0BQwMAPTlD/Fpi0JfAAAAAElFTkSuQmCC'],
Expand Down
4 changes: 3 additions & 1 deletion polymer/js/behaviors/fin-hypergrid-behavior-qtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,8 @@
}
image = this.getImage('add-column').cloneNode();
bbh.appendChild(image);
image.setAttribute('title', 'open/close column editor');

if (this.isColumnReorderable()) {
image.onclick = function() {
self.toggleColumnPicker();
Expand All @@ -1183,7 +1185,7 @@
fn: buttonLabel
};
this.sendMessage(bbClick);
this.autosizeColumns();
//this.autosizeColumns();
}

});
Expand Down

0 comments on commit d839f5d

Please sign in to comment.