Posts

Posts mit dem Label "table" werden angezeigt.

HTML: filtering table

A quick and simple solution to filter large html tables as used in IMMO.invent * is needed. The filter is placed on the table header and is selected via drop-down menu. The below solutions works when filtering one column at a time [1]: [1] filter html table (Stackoverflow),  https://stackoverflow.com/a/60326655/4869421 However, this solution works only when applied to one single column of a html table.  When filtering a diverse number of columns  in a html table is needed, than this nice plugin was adopted [2]: [2] Simple jQuery Dropdown Table Filter Plugin - ddtf.js (Github),  https://github.com/rbayliss/Dropdown-Table-Filter.git   Other solutions might be interesting but turned out to be either to complicated or to simplistic: [3] filter html table (Stackoverflow),  https://stackoverflow.com/questions/66989506/filtering-html-table-columns-with-select-dropdowns [4] filter html table (Stackoverflow),  https://stackoverflow.com/questions/60326111...

HTML: table sort

A simple solution to sort large html tables in IMMO.invent* was need. The javascript plugin sortElements.js  was adopted: [1] sortElements.js (Plugin),  https://github.com/padolsey-archive/jquery.fn/blob/master/sortElements/jquery.sortElements.js [2] Discussion1,  https://stackoverflow.com/questions/13419274/jquery-sortelements [3] Fiddle for [2],  https://jsfiddle.net/spetnik/gFzCk/1953/   [4] Discussion12,  https://stackoverflow.com/questions/14267781/sorting-html-table-with-javascript [5] Discussion13,  https://stackoverflow.com/questions/3160277/jquery-table-sort/19947532#19947532 [6] not adopted but also interesting:  https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/ * IMMO.invent is a web-based application to analyse the energy consumption and the accompanied greenhouse gas emissions of very large municipal real estate portfolios. The application has been developed since 2016.