{"action":"opened","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/418","labels_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/418/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/418/events","html_url":"https://github.com/kartik-v/yii2-grid/issues/418","id":123886462,"number":418,"title":"Change id of the data-range or any other widget when applied as filter?","user":{"login":"Gawran","id":4978939,"avatar_url":"https://avatars.githubusercontent.com/u/4978939?v=3","gravatar_id":"","url":"https://api.github.com/users/Gawran","html_url":"https://github.com/Gawran","followers_url":"https://api.github.com/users/Gawran/followers","following_url":"https://api.github.com/users/Gawran/following{/other_user}","gists_url":"https://api.github.com/users/Gawran/gists{/gist_id}","starred_url":"https://api.github.com/users/Gawran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gawran/subscriptions","organizations_url":"https://api.github.com/users/Gawran/orgs","repos_url":"https://api.github.com/users/Gawran/repos","events_url":"https://api.github.com/users/Gawran/events{/privacy}","received_events_url":"https://api.github.com/users/Gawran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-25T15:25:27Z","updated_at":"2015-12-25T15:25:27Z","closed_at":null,"body":"I have two gridviews that originate from the same model and are placed on the same page. I need it that way because grids show different sets of data. Now problem: when I apply date-rage filter it gets id composed of classname-attribute (id=\"documents-assigned_at\") and in the first grid everything works as expected but in the second grid date-rage filter does not initialize at all. I suppose it is due to the same id value but I can not change it. I've tried in many ways but I guess when date-range and any other of widgets are assigned as filters to some gridview it internally overwrites id value to classname-model attribute. Is it possible to change id for widgets when they are used as filters? \r\nSame problem is with Select2 widget, for example.\r\nIt ignores setting id in filterWidgetOptions."}}