Skip to content

Commit

Permalink
Refactorings and fix file-size-sort sorting by cell rather than row (#98
Browse files Browse the repository at this point in the history
)

* Move dataattributes function out of make column sortable

* Move sortfilezize, sortdates, sortruntime out of makecolumnsortable so not defined multiple times.

* Move getTableData out of make each column sortable.

* Move updateTable out of makeeachcolumn sortable.

* Move getColumn function definition onto column object.

* Move updateTable stuff related to fileSize into its own function to be less confusing.

* WIP: fix file-size-sort useing innerhtml.

* WIP 2: fix file-size-sort useing innerhtml.

* Fixed file-size-sort sorting cells rather than rows.

* Remove remember sort from declared for each column.
  • Loading branch information
LeeWannacott committed May 21, 2023
1 parent 084f9f1 commit d678d57
Showing 1 changed file with 331 additions and 295 deletions.
Loading

0 comments on commit d678d57

Please sign in to comment.