{"action":"opened","issue":{"url":"https://api.github.com/repos/DevExpress/devextreme-react/issues/201","repository_url":"https://api.github.com/repos/DevExpress/devextreme-react","labels_url":"https://api.github.com/repos/DevExpress/devextreme-react/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/DevExpress/devextreme-react/issues/201/comments","events_url":"https://api.github.com/repos/DevExpress/devextreme-react/issues/201/events","html_url":"https://github.com/DevExpress/devextreme-react/issues/201","id":364398790,"node_id":"MDU6SXNzdWUzNjQzOTg3OTA=","number":201,"title":"DataGrid component problem with master/detail","user":{"login":"Davidas84","id":16381194,"node_id":"MDQ6VXNlcjE2MzgxMTk0","avatar_url":"https://avatars1.githubusercontent.com/u/16381194?v=4","gravatar_id":"","url":"https://api.github.com/users/Davidas84","html_url":"https://github.com/Davidas84","followers_url":"https://api.github.com/users/Davidas84/followers","following_url":"https://api.github.com/users/Davidas84/following{/other_user}","gists_url":"https://api.github.com/users/Davidas84/gists{/gist_id}","starred_url":"https://api.github.com/users/Davidas84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davidas84/subscriptions","organizations_url":"https://api.github.com/users/Davidas84/orgs","repos_url":"https://api.github.com/users/Davidas84/repos","events_url":"https://api.github.com/users/Davidas84/events{/privacy}","received_events_url":"https://api.github.com/users/Davidas84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T10:06:54Z","updated_at":"2018-09-27T10:06:54Z","closed_at":null,"author_association":"NONE","body":"### Issue Type\r\n'bug report'\r\n\r\n### Description\r\nWhen Im trying to use Template for master/detail I've got these errors:\r\n1. The above error occurred in the component: in DataGrid (created by App) in div (created by App) in App\r\n2. TypeError: contentProvider is not a function\r\nIt seems DataGrid does not want to work with Template as error occured only when template is present in code.\r\n\r\n#### Steps to Reproduce\r\nimport * as React from 'react';\r\nimport * as ReactDOM from 'react-dom';\r\nimport DataGrid, {Column,FilterRow,Pager,Paging,Editing,ColumnLookup} from \"devextreme-react/ui/data-grid\";\r\nimport * as AspNetData from \"devextreme-aspnet-data-nojquery\";\r\nimport { Template } from 'devextreme-react/core/template';\r\n\r\nexport default class App extends React.Component<any, IProp> {\r\n        ....\r\n\r\n    public render() {\r\n        return (\r\n            <div>\r\n            <DataGrid\r\n                dataSource={this.state.dataSource}\r\n                remoteOperations={true}\r\n                masterDetail={{enabled: true, template: \"details\"}}>\r\n\r\n                <Template name=\"details\">\r\n                    <div>Hello</div>\r\n                </Template>\r\n\r\n\r\n                <Column dataField=\"name\" caption=\"Наименование ДУ\"/>\r\n                <Column dataField=\"mnemoCode\" caption=\"Мнемокод\" dataType=\"string\" />\r\n\r\n                <Pager\r\n                    allowedPageSizes={[5, 10, 15, 20]}\r\n                    showPageSizeSelector={true}\r\n                    showInfo={true}\r\n                />\r\n                <Paging\r\n                    defaultPageIndex={0}\r\n                    defaultPageSize={10}\r\n                />\r\n                </DataGrid>\r\n            </div>\r\n        );\r\n    }\r\n}\r\n\r\n#### Current Behavior\r\nproduces errors\r\n\r\n#### Expected Behavior\r\ndetails with Hello word\r\n\r\n\r\n### Environment Details\r\n  \"devDependencies\": {\r\n    \"@types/react\": \"16.4.14\",\r\n    \"@types/react-dom\": \"16.0.7\",\r\n    \"babel-core\": \"6.26.3\",\r\n    \"babel-loader\": \"7.1.5\",\r\n    \"react\": \"16.5.2\",\r\n    \"react-dom\": \"16.5.2\",\r\n    \"webpack\": \"^4.19.1\",\r\n    \"webpack-cli\": \"^3.1.1\",\r\n    \"webpack-notifier\": \"^1.6.0\"\r\n  },\r\n  \"dependencies\": {\r\n    \"react-bootstrap\": \"^0.32.4\",\r\n    \"@babel/polyfill\": \"^7.0.0\",\r\n    \"babel-preset-react\": \"^6.24.1\",\r\n    \"devextreme\": \"^18.1.6\",\r\n    \"devextreme-aspnet-data-nojquery\": \"^1.4.8\",\r\n    \"devextreme-react\": \"^18.1.6-alpha.11\",\r\n    \"lodash\": \"^4.17.11\"\r\n  }"}}
{"actor":{"display_login":"Davidas84"}}