{"action":"opened","issue":{"url":"https://api.github.com/repos/nicolaskruchten/pivottable/issues/614","repository_url":"https://api.github.com/repos/nicolaskruchten/pivottable","labels_url":"https://api.github.com/repos/nicolaskruchten/pivottable/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/nicolaskruchten/pivottable/issues/614/comments","events_url":"https://api.github.com/repos/nicolaskruchten/pivottable/issues/614/events","html_url":"https://github.com/nicolaskruchten/pivottable/issues/614","id":200796285,"number":614,"title":"Pre-filter fields.","user":{"login":"thaufee","id":9458714,"avatar_url":"https://avatars.githubusercontent.com/u/9458714?v=3","gravatar_id":"","url":"https://api.github.com/users/thaufee","html_url":"https://github.com/thaufee","followers_url":"https://api.github.com/users/thaufee/followers","following_url":"https://api.github.com/users/thaufee/following{/other_user}","gists_url":"https://api.github.com/users/thaufee/gists{/gist_id}","starred_url":"https://api.github.com/users/thaufee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaufee/subscriptions","organizations_url":"https://api.github.com/users/thaufee/orgs","repos_url":"https://api.github.com/users/thaufee/repos","events_url":"https://api.github.com/users/thaufee/events{/privacy}","received_events_url":"https://api.github.com/users/thaufee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-14T10:50:28Z","updated_at":"2017-01-14T10:50:28Z","closed_at":null,"body":"Below is my script to generate pivot table:\r\n\r\n```\r\nvar derivers = $.pivotUtilities.derivers;\r\nvar renderers = $.extend($.pivotUtilities.renderers, $.pivotUtilities.c3_renderers);\r\n$('#output').pivotUI(\r\n    [{\r\n        Line: 'X',\r\n        Party: 'AB'\r\n    }, {\r\n        Line: 'X',\r\n        Party: 'CD\r\n    }, {\r\n        Line: 'Y,\r\n        Party: 'EF\r\n    }, {\r\n        Line: 'Y',\r\n        Party: 'AB\r\n    }, {\r\n        Line: 'X',\r\n        Party: 'GH\r\n    }, {\r\n        Line: 'Y',\r\n        Party: 'IJ\r\n    }, {\r\n        Line: 'X',\r\n        Party: 'AB\r\n    }], {\r\n        renderers: renderers,\r\n        rows: ['Line'],\r\n        cols: ['Party']\r\n    });\r\n```\r\n\r\nI would like to pre filter Party column with only 'AB' on load. User can select all items if he would like to. But on loading pivot table, I would lilke pre filter Party column.\r\nCould you please tell me how can I do it?"}}
{"actor":{"display_login":"thaufee"}}