mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

header name rendering in columnpicker #1018

Open aleufroy opened 9 years ago

aleufroy commented 9 years ago

slick.columnpicker.js renders headers in the menu using .text(...) while slick.grid.js uses .html(...).

Here is the small fix:

--- a//slick.columnpicker.js
+++ b/slick.columnpicker.js
@@ -44,7 +44,7 @@
         }

         $("<label />")
-            .text(columns[i].name)
+            .html(columns[i].name)
             .prepend($input)
             .appendTo($li);
       }
adamatyork commented 7 years ago

Good spot!