fix issue with organize columns - not able to make visible columns hidden before apply models
@@ -1229,6 +1229,9 @@ var OrganizeColumnsDialog = (function() {
var list = $("<ol>").addClass("dd-list");
outer.append(list);
$.each(json, function(i, element) {
+ if(!element.visible)
+ element.hideable = true;
+
var li = $("<li>").addClass("dd-item")
.attr("data-name", element.name)
.attr("data-id", element.id)
