{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-export/issues/122","repository_url":"https://api.github.com/repos/kartik-v/yii2-export","labels_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/122/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/122/events","html_url":"https://github.com/kartik-v/yii2-export/issues/122","id":139210514,"number":122,"title":"How can I export only the selected rows?","user":{"login":"imRainChen","id":13149266,"avatar_url":"https://avatars.githubusercontent.com/u/13149266?v=3","gravatar_id":"","url":"https://api.github.com/users/imRainChen","html_url":"https://github.com/imRainChen","followers_url":"https://api.github.com/users/imRainChen/followers","following_url":"https://api.github.com/users/imRainChen/following{/other_user}","gists_url":"https://api.github.com/users/imRainChen/gists{/gist_id}","starred_url":"https://api.github.com/users/imRainChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imRainChen/subscriptions","organizations_url":"https://api.github.com/users/imRainChen/orgs","repos_url":"https://api.github.com/users/imRainChen/repos","events_url":"https://api.github.com/users/imRainChen/events{/privacy}","received_events_url":"https://api.github.com/users/imRainChen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-08T08:24:15Z","updated_at":"2016-03-08T08:32:08Z","closed_at":"2016-03-08T08:32:08Z","body":"How can I export only the selected rows?  \r\nI could not find any example for that. \r\nThanks"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-export/issues/comments/193662329","html_url":"https://github.com/kartik-v/yii2-export/issues/122#issuecomment-193662329","issue_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/122","id":193662329,"user":{"login":"kartik-v","id":3592619,"avatar_url":"https://avatars.githubusercontent.com/u/3592619?v=3","gravatar_id":"","url":"https://api.github.com/users/kartik-v","html_url":"https://github.com/kartik-v","followers_url":"https://api.github.com/users/kartik-v/followers","following_url":"https://api.github.com/users/kartik-v/following{/other_user}","gists_url":"https://api.github.com/users/kartik-v/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-v/subscriptions","organizations_url":"https://api.github.com/users/kartik-v/orgs","repos_url":"https://api.github.com/users/kartik-v/repos","events_url":"https://api.github.com/users/kartik-v/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-v/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T08:32:08Z","updated_at":"2016-03-08T08:32:08Z","body":"It is not possible the way you are requesting and you may need to write your own code for this. This is because the extension entirely relies on the DATA you are providing from your yii dataProvider.\r\n\r\nIf you need selected rows OR filtered rows OR whatever... you need to send this filtered query data through your dataProvider to trigger the export for what you need."}}