{"action":"created","issue":{"url":"https://api.github.com/repos/swimlane/ngx-datatable/issues/1117","repository_url":"https://api.github.com/repos/swimlane/ngx-datatable","labels_url":"https://api.github.com/repos/swimlane/ngx-datatable/issues/1117/labels{/name}","comments_url":"https://api.github.com/repos/swimlane/ngx-datatable/issues/1117/comments","events_url":"https://api.github.com/repos/swimlane/ngx-datatable/issues/1117/events","html_url":"https://github.com/swimlane/ngx-datatable/issues/1117","id":273536808,"number":1117,"title":"New Feature Request:  Ability to \"select\" a row programmatically.","user":{"login":"allen0977","id":5888881,"avatar_url":"https://avatars2.githubusercontent.com/u/5888881?v=4","gravatar_id":"","url":"https://api.github.com/users/allen0977","html_url":"https://github.com/allen0977","followers_url":"https://api.github.com/users/allen0977/followers","following_url":"https://api.github.com/users/allen0977/following{/other_user}","gists_url":"https://api.github.com/users/allen0977/gists{/gist_id}","starred_url":"https://api.github.com/users/allen0977/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allen0977/subscriptions","organizations_url":"https://api.github.com/users/allen0977/orgs","repos_url":"https://api.github.com/users/allen0977/repos","events_url":"https://api.github.com/users/allen0977/events{/privacy}","received_events_url":"https://api.github.com/users/allen0977/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-13T18:48:33Z","updated_at":"2018-03-22T08:04:31Z","closed_at":null,"author_association":"NONE","body":"<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[ ] bug report => search github for a similar issue or PR before submitting\r\n[ x ] feature request\r\n[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter\r\n```\r\n\r\n**Current behavior**\r\n<!-- Describe how the bug manifests. -->\r\nUnable to programmatically \"Select\" a row.   In order to perfom the \"Select\" operation, the user must click the row.\r\n\r\n**Expected behavior**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nWithin the TS file, I'd like to perform a \"Select\" operation on a specific row, and have it \"Open\" the details of that row.   I would like to be able to SAVE the selected row parameter, perform an update of the underlying this.rows, and then reselect the previously selected rows.  \r\n\r\n**Reproduction of the problem**\r\n<!-- If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/vtAo2zzWFn8kFOGRH88r). -->\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\nIn my application, the rows display summary data for multiple months worth of information.  Upon selecting a row, it opens a detailed datatable, that shows projects and values for expanded for the same months.   Within the details table, users can interact with the data and update values, which commit to the database.   A refresh of the original data table data will force the detail view to close.   I would like to keep it open (or at the very least be able to \"reselect\" the record that was open in the first place).\r\n\r\n**Please tell us about your environment:**\r\n<!-- Operating system, IDE, package manager, HTTP server, ... -->\r\nMac, Sublime/Ultra Edit, npm, node, etc.\r\n\r\n* **Table version:** 0.8.x\r\n<!-- Check whether this is still an issue in the most recent table version -->\r\n11.0.2 is the current version I'm using, this is a new feature request not found in older versions.\r\n\r\n* **Angular version:** 2.0.x\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n5.0.1\r\n\r\n* **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]\r\n<!-- All browsers where this could be reproduced -->\r\nAll\r\n\r\n* **Language:** [all | TypeScript X.X | ES6/7 | ES5]\r\nall"},"comment":{"url":"https://api.github.com/repos/swimlane/ngx-datatable/issues/comments/375210910","html_url":"https://github.com/swimlane/ngx-datatable/issues/1117#issuecomment-375210910","issue_url":"https://api.github.com/repos/swimlane/ngx-datatable/issues/1117","id":375210910,"user":{"login":"ArfanMirza","id":5881606,"avatar_url":"https://avatars1.githubusercontent.com/u/5881606?v=4","gravatar_id":"","url":"https://api.github.com/users/ArfanMirza","html_url":"https://github.com/ArfanMirza","followers_url":"https://api.github.com/users/ArfanMirza/followers","following_url":"https://api.github.com/users/ArfanMirza/following{/other_user}","gists_url":"https://api.github.com/users/ArfanMirza/gists{/gist_id}","starred_url":"https://api.github.com/users/ArfanMirza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArfanMirza/subscriptions","organizations_url":"https://api.github.com/users/ArfanMirza/orgs","repos_url":"https://api.github.com/users/ArfanMirza/repos","events_url":"https://api.github.com/users/ArfanMirza/events{/privacy}","received_events_url":"https://api.github.com/users/ArfanMirza/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T08:04:31Z","updated_at":"2018-03-22T08:04:31Z","author_association":"NONE","body":"Working solution... \r\n```\r\n<ngx-datatable class=\"material expandable\" #myTable ...>\r\n@ViewChild('myTable') table: any;\r\n**this.table.rowDetail.toggleExpandRow(row);**\r\n```"}}
{"actor":{"display_login":"ArfanMirza"}}