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: patch-diff.githubusercontent.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:f77f39dc-eb53-b2d8-0970-133d19f5a0d3 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id B63E:33CBA2:9CDF90:DBE809:696F3E3E html-safe-nonce 9565f452c2990da61487756dcec17cc2e6f29f1cfa6bda32d957c8b1f937d160 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjNFOjMzQ0JBMjo5Q0RGOTA6REJFODA5OjY5NkYzRTNFIiwidmlzaXRvcl9pZCI6IjQ1OTk0NzYxMjgyNTM0MjcyNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac a596d0908dadbd85985afd51957854133954911cdd2cfc649c62c48d079aa925 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 b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee 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 39aed5006635ab6f45e6b77d23e73b08a00272a3 ui-target canary-2 theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.