Metro 4.2.16
4.2.16
- Export: add object
Metro.export
. Now you can export any HTMLtables
toCSV
with methodMetro.export.tableToCSV(table, filename)
- Utils: add function
copy(el)
for copying element to clipboard - Utils: add function
bool(val)
. This func return true if value one of:true
,'true'
,1
,'1'
,'on'
,'yes'
- Table: fix show cell if stored value
show
for view have string type'true'
or'false'
- Table: add second parameter
heads
for custom filter function - Table: change padding and font-size for
compact
class - Table: fix post method for save table view. Inspector post
{id: table_id, view: table_view}
- Table: add method
export(to, mode, filename, export_options)
. Argumentto
currently must valueCSV
. Argument mode:all
,checked
,view
,all-filtered
- Table: add method
resetView(save)
reset table view to default - Table: add method
getView()
return current view object - Table: add method
getHeads()
return table internal heads - Table: add method
clearSelected(redraw)
. This method uncheck rows and redraw table if your need - Dialog: add attributes
data-to-top='true|false'
,data-to-bottom='true|false'
for sticky dialog to top or bottom side. - List: fix for issue ##1155 for IE11
Help the project, become a backer
https://github.com/olton/Metro-UI-CSS/blob/master/BACKERS.md