{"action":"closed","issue":{"url":"https://api.github.com/repos/DataTables/DataTables/issues/881","repository_url":"https://api.github.com/repos/DataTables/DataTables","labels_url":"https://api.github.com/repos/DataTables/DataTables/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/DataTables/DataTables/issues/881/comments","events_url":"https://api.github.com/repos/DataTables/DataTables/issues/881/events","html_url":"https://github.com/DataTables/DataTables/issues/881","id":185040482,"number":881,"title":"visible:false is not work for the `fnStateLoadCallback`.","user":{"login":"chiragsatapara","id":8191874,"avatar_url":"https://avatars.githubusercontent.com/u/8191874?v=3","gravatar_id":"","url":"https://api.github.com/users/chiragsatapara","html_url":"https://github.com/chiragsatapara","followers_url":"https://api.github.com/users/chiragsatapara/followers","following_url":"https://api.github.com/users/chiragsatapara/following{/other_user}","gists_url":"https://api.github.com/users/chiragsatapara/gists{/gist_id}","starred_url":"https://api.github.com/users/chiragsatapara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiragsatapara/subscriptions","organizations_url":"https://api.github.com/users/chiragsatapara/orgs","repos_url":"https://api.github.com/users/chiragsatapara/repos","events_url":"https://api.github.com/users/chiragsatapara/events{/privacy}","received_events_url":"https://api.github.com/users/chiragsatapara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-25T07:37:07Z","updated_at":"2016-10-25T13:12:16Z","closed_at":"2016-10-25T13:12:16Z","body":"i am using a datatable and save the setting into the database for future set same view for the user.\r\n\r\nis there any dependancy of the `time:1477136846997` ????\r\n\r\nHere is my setting which is save into the databse:\r\n\r\n`{\"time\":\"1477136846997\",\"start\":\"0\",\"length\":\"25\",\"order\":[[\"1\",\"asc\"]],\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"},\"columns\":[{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"false\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"false\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"false\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}},{\"visible\":\"true\",\"search\":{\"search\":\"\",\"smart\":\"true\",\"regex\":\"false\",\"caseInsensitive\":\"true\"}}]}`\r\n\r\nand here is the code using which my setting is bind again to the datatable.\r\n\r\n```\r\nfnStateLoadCallback: function(settings) {\r\n            debugger;\r\n            jQuery(\"#divLoading\").show();\r\n            if (user_id != '' && user_id != undefined) {\r\n                var o;\r\n                jQuery.ajax({\r\n                    url: \"api/v1/dtsetting/\" + orgmethod + '/' + user_id,\r\n                    async: false,\r\n                }).done(function(result) {\r\n                    debugger;\r\n                    result = result['data']; \r\n                    if (result == null) {\r\n                        sett_id = '';\r\n\r\n\r\n                    } else {\r\n                        sett_id = result.id;\r\n                        o = result;\r\n                    }\r\n                });\r\n                if (sett_id != '') {\r\n                    debugger;\r\n                    var my_data = JSON.parse(o.settings);\r\n                   // var new_return = set_data(my_data);\r\n                    return my_data;\r\n                } else {\r\n                    return false;\r\n                }\r\n\r\n            }\r\n        }\r\n```\r\nbut it is display all the column in to the view .\r\n\r\nPlease help me to solve this issue."}}
{"actor":{"display_login":"DataTables"}}