Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Change the cursor to "pointer" for sortable columns of a table. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
54d53deb1650212c0d5b2ee983e0676c |
| User & Date: | drh 2015-01-05 01:57:03.654 |
Context
|
2015-01-05
| ||
| 20:36 | Fix typos in the file-format documentation. ... (check-in: f7d7ce35cd user: drh tags: trunk) | |
| 15:25 | Add arrows to cue active sorting on /brlist web page ... (Closed-Leaf check-in: 7aa10e3c72 user: baruch tags: brlist-visual-enhancement) | |
| 01:57 | Change the cursor to "pointer" for sortable columns of a table. ... (check-in: 54d53deb16 user: drh tags: trunk) | |
|
2015-01-04
| ||
| 20:54 | Enhance the /brlist output to show a count of the number of check-ins on each branch, and to separate the "Status" and "Resolution" into separate columns, with the "Status" column being sortable. Enhance the SortableTable() javascript to always sort ASC on initial click and only go to DESC on a second click of the same column. ... (check-in: 965905c884 user: drh tags: trunk) | |
Changes
Changes to src/report.c.
| ︙ | ︙ | |||
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 |
@ }
@ if(x && x[0].rows && x[0].rows.length > 0) {
@ var sortRow = x[0].rows[0];
@ } else {
@ return;
@ }
@ for (var i=0; i<sortRow.cells.length; i++) {
@ sortRow.cells[i].sTable = this;
@ sortRow.cells[i].sortType = columnTypes[i] || 't';
@ sortRow.cells[i].onclick = function () {
@ this.sTable.sort(this);
@ return false;
@ }
@ }
@ }
| > > | 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 |
@ }
@ if(x && x[0].rows && x[0].rows.length > 0) {
@ var sortRow = x[0].rows[0];
@ } else {
@ return;
@ }
@ for (var i=0; i<sortRow.cells.length; i++) {
@ if( columnTypes[i]=='x' ) continue;
@ sortRow.cells[i].sTable = this;
@ sortRow.cells[i].style.cursor = "pointer";
@ sortRow.cells[i].sortType = columnTypes[i] || 't';
@ sortRow.cells[i].onclick = function () {
@ this.sTable.sort(this);
@ return false;
@ }
@ }
@ }
|
| ︙ | ︙ |