{"action":"closed","issue":{"url":"https://api.github.com/repos/nextras/datagrid/issues/39","labels_url":"https://api.github.com/repos/nextras/datagrid/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/nextras/datagrid/issues/39/comments","events_url":"https://api.github.com/repos/nextras/datagrid/issues/39/events","html_url":"https://github.com/nextras/datagrid/issues/39","id":58081846,"number":39,"title":"conflict in case of nette.ajax use outside of grid","user":{"login":"LeonardoCA","id":552868,"avatar_url":"https://avatars.githubusercontent.com/u/552868?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonardoCA","html_url":"https://github.com/LeonardoCA","followers_url":"https://api.github.com/users/LeonardoCA/followers","following_url":"https://api.github.com/users/LeonardoCA/following{/other_user}","gists_url":"https://api.github.com/users/LeonardoCA/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonardoCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonardoCA/subscriptions","organizations_url":"https://api.github.com/users/LeonardoCA/orgs","repos_url":"https://api.github.com/users/LeonardoCA/repos","events_url":"https://api.github.com/users/LeonardoCA/events{/privacy}","received_events_url":"https://api.github.com/users/LeonardoCA/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T15:26:17Z","updated_at":"2015-02-24T10:27:11Z","closed_at":"2015-02-24T10:27:11Z","body":"if I use $.nette.ajax call for something else while having nextras.datagrid.js in project, following code gets executed\r\n```php\r\nbefore: function(xhr, settings) {\r\n\t\tthis.grid = settings.nette.el.parents('.grid');\r\n\t},\r\n```\r\nand it ends up with error\r\n\r\nUncaught TypeError: Cannot read property 'el' of undefined\r\n\r\nI believe that it should be considered that settings.nette.el does not have to exist?"}}