We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58cb8fb commit 62c9515Copy full SHA for 62c9515
src/table/Table.js
@@ -202,7 +202,7 @@ javaxt.dhtml.Table = function(parent, config) {
202
//Create main table
203
var table, tr, td;
204
table = createTable(parent);
205
- table.setAttribute("desc", me.className);
+ table.className = "javaxt-table";
206
setStyle(table, "table");
207
me.el = table;
208
addShowHide(me);
@@ -648,6 +648,10 @@ javaxt.dhtml.Table = function(parent, config) {
648
row.get = getRowContent;
649
row.set = setRowContent;
650
row.onclick = selectRows;
651
+ row.oncontextmenu = function(e){
652
+ if (this.selected) this.selected = false;
653
+ selectRows.apply(this, [e]);
654
+ };
655
656
657
//Create template as needed. The template is a collection of cells that
0 commit comments