Ad
related to: sortable table google sheets tutorial pdf
Search results
Results From The WOW.Com Content Network
All tables below have data-sort-type=isoDate added to the column headers. Remember to leave a space in the wikitext before years that are a negative number. Otherwise, |-will be used as table formatting instead of |. "c." stands for circa (approximately). "c." before the date breaks sorting in the first table.
Click on "ascending" or "descending" to sort alphabetically or numerically depending on the column contents. Click on "sort" for more options. To move the header row(s) back up to the top: Select the entire row(s). To select the entire row(s) click on the Calc numbered columns located on the far left of any sheet. Press and hold ALT key. Left ...
sortable – adds up & down icons to column headers which enable sorting the table on a given column. See sortable tables. mw-collapsible – See collapsible tables. [note 1] plainrowheaders – applies left-aligned and normal-weight formatting of row headers. See Table header layout.
Currently, there does not seem to be a way to copy those tables to a wiki and keep styling such as colors (background or text color). It is possible to convert PDF tables to Excel and keep the colors. Or to HTML tables and keep the colors. But there does not seem to be a way to copy any of those colored tables (PDF, Excel, HTML, etc.) to a wiki.
Collapsible tables can be combined with the sortable tables functionality without difficulty. However, because the hide/show button is placed with mw-collapsible in the right header cell, its positioning can look a bit peculiar if the cell is not wide enough:
If a table is created in Visual Editor, the dialog includes a checkbox to "Make table sortable". If you check this box, then a reader can sort the table by any column, by clicking on the header cell for that column. Existing tables, or tables created in wikitext can be made sortable by adding the wikitable sortable class to the top of the table:
For simple tables, this can be done via the "transpose rows and columns" function of Copy & Paste Excel-to-Wiki, or via the "transpose" feature of a third-party spreadsheet program such as Microsoft Excel, the free web-based Google Sheets, or the free downloadable software LibreOffice Calc.
Sorting can be done in separate files, such as using a DOS-prompt command: SORT myfile.DAT > myfile2.DAT, or else use a text-editor such as NoteTab, which has a modify-lines-sort option. Edit-tricks are most useful when multiple tables must be changed, then the time needed to develop complex edit-patterns can be applied to each table.