Title: Can`t clear selected filters · Issue #73 · angular-data-grid/angular-data-grid.github.io · GitHub
Open Graph Title: Can`t clear selected filters · Issue #73 · angular-data-grid/angular-data-grid.github.io
X Title: Can`t clear selected filters · Issue #73 · angular-data-grid/angular-data-grid.github.io
Description: I have a dynamic table with filters on each column. I'm having trouble with a clear button that i'm trying to implement, to clear all filtered data. The table row with the filters look like this Open Graph Description: I have a dynamic table with filters on each column. I'm having trouble with a clear button that i'm trying to implement, to clear all filtered data. The table row with the filters look like this X Description: I have a dynamic table with filters on each column. I'm having trouble with a clear button that i'm trying to implement, to clear all filtered data. The table row with the filters look like...
Opengraph URL: https://github.com/angular-data-grid/angular-data-grid.github.io/issues/73
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can`t clear selected filters","articleBody":"I have a dynamic table with filters on each column.\r\n\r\n\r\n\r\nI'm having trouble with a clear button that i'm trying to implement, to clear all filtered data.\r\n\r\nThe table row with the filters look like this\r\n\r\n```\r\n\u003ctr class=\"data-grid-filters\"\u003e\r\n\t\u003ctd\u003e\r\n\t\t\u003cinput type=\"text\" class=\"form-control input-sm order-search-box\" ng-change=\"gridActions.filter()\" ng-model=\"_id\" filter-by=\"_id\" filter-type=\"text\"\u003e\r\n\t\u003c/td\u003e\r\n\t\u003ctd\u003e\r\n\t\t\u003cinput type=\"text\" class=\"form-control input-sm order-search-box\" ng-change=\"gridActions.filter()\" ng-model=\"reference\" filter-by=\"reference\" filter-type=\"text\"\u003e\r\n\t\u003c/td\u003e\r\n\t\u003ctd\u003e\r\n\t\t\u003cinput type=\"text\" class=\"form-control input-sm order-search-box\" ng-change=\"gridActions.filter()\" ng-model=\"creationDate\" filter-by=\"creationDate\" filter-type=\"text\"\u003e\r\n\t\u003c/td\u003e\r\n\t\u003ctd\u003e\r\n\t\t\u003ci class=\"fa fa-1x fa-trash\" ng-click=\"clearFilters()\" title=\"{{'DataGrid.ClearFilters' | translate}}\"\u003e\u003c/i\u003e\r\n\t\u003c/td\u003e\r\n\u003c/tr\u003e\r\n```\r\nFirst i have tried with Jquery with this function\r\n\r\n```\r\n$scope.clearFilters = function () {\r\n\tvar inputs = $(\".data-grid-filters input\");\r\n\t$.each(inputs, function (index, value) {\r\n\t\t$(inputs).eq(index)[0].value = \"\";\r\n\t})\r\n}\r\n```\r\n\r\nan then diggin up the public methods of the data-grid\r\n\r\n```\r\n$scope.clearFilters = function () {\r\n\t$scope.gridOptions.grid.reloadGrid(false)\r\n}\r\n```\r\n\r\nNeed help!","author":{"url":"https://github.com/leonardoResendeLima","@type":"Person","name":"leonardoResendeLima"},"datePublished":"2018-03-28T05:06:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/73/angular-data-grid.github.io/issues/73"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:9d03ad55-e1a0-1c86-c57f-2b54de10ac75 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id A00C:EA765:491529:65B955:696A50E8 html-safe-nonce 186eaff6bdcd941bda914b313149dfabeec59877d9c0381c446797d78e9d25d9 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDBDOkVBNzY1OjQ5MTUyOTo2NUI5NTU6Njk2QTUwRTgiLCJ2aXNpdG9yX2lkIjoiMjQ5NTUzMjkzODg0OTU3MTA0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac df0848ae6dbc444f93bda4cce56db8406ee00a7f555d83c922f5b9c8a75c0716 hovercard-subject-tag issue:309222449 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular-data-grid/angular-data-grid.github.io/73/issue_layout twitter:image https://opengraph.githubassets.com/0f6b4597c10bce503f4ed36e3018d40f1ae27367e39586c72b9c7b717675ff56/angular-data-grid/angular-data-grid.github.io/issues/73 twitter:card summary_large_image og:image https://opengraph.githubassets.com/0f6b4597c10bce503f4ed36e3018d40f1ae27367e39586c72b9c7b717675ff56/angular-data-grid/angular-data-grid.github.io/issues/73 og:image:alt I have a dynamic table with filters on each column. I'm having trouble with a clear button that i'm trying to implement, to clear all filtered data. The table row with the filters look like this og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username leonardoResendeLima hostname github.com expected-hostname github.com None 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef turbo-cache-control no-preview go-import github.com/angular-data-grid/angular-data-grid.github.io git https://github.com/angular-data-grid/angular-data-grid.github.io.git octolytics-dimension-user_id 16427984 octolytics-dimension-user_login angular-data-grid octolytics-dimension-repository_id 48544927 octolytics-dimension-repository_nwo angular-data-grid/angular-data-grid.github.io octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 48544927 octolytics-dimension-repository_network_root_nwo angular-data-grid/angular-data-grid.github.io turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 63c426b30d262aba269ef14c40e3c817b384cd61 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.