它没有显示任何错误生成代码然后消失。他唯一说的是
未捕获的类型错误:无法读取未定义的属性“datagrid”
生成的代码是这样的
{"el":"#grid-app-resumes-grid-275870322","gridName":"app-resumes-grid","builders":["orofilter\/js\/datafilter-builder","orosync\/js\/content\/grid-builder","orodatagrid\/js\/totals-builder"],"metadata":{"requireJSModules":["orofilter\/js\/datafilter-builder","orosync\/js\/content\/grid-builder","orodatagrid\/js\/totals-builder"],"options":{"gridName":"app-resumes-grid","frontend":true,"show_grid":true,"additional_fields":[],"toolbarOptions":{"placement":{"bottom":true,"top":true},"hide":false,"addResetAction":true,"addRefreshAction":true,"addColumnManager":true,"turnOffToolbarRecordsNumber":0,"pageSize":{"hide":false,"default_per_page":25,"items":[10,25,50,100]},"pagination":{"hide":false,"onePage":false},"addSorting":false,"disableNotSelectedOption":false},"urlParams":{"originalRoute":"mayorista_resume_account_frontend_index"},"route":"oro_frontend_datagrid_index","contentTags":["Mayoristanet_ResumeAccountBundle_Entity_Resume_type_collection"],"multipleSorting":false,"url":"\/neworo\/web\/app_dev.php\/datagrid\/app-resumes-grid?app-resumes-grid%5BoriginalRoute%5D=mayorista_resume_account_frontend_index"},"lazy":true,"massActions":[],"rowActions":{"update":{"type":"button-widget","label":"Edit","rowAction":false,"link":"#","icon":"pencil-square-o","order":510,"name":"update","frontend_type":"button-widget","launcherOptions":{"onClickReturnValue":true,"runAction":true,"className":"no-hash","widget":[],"messages":[]}},"delete":{"type":"button-widget","label":"Delete","rowAction":false,"link":"#","icon":"trash-o","order":520,"name":"delete","frontend_type":"button-widget","launcherOptions":{"onClickReturnValue":true,"runAction":true,"className":"no-hash","widget":[],"messages":[]}}},"initialState":{"gridView":"__all__","filters":[],"columns":{"id":{"order":0,"renderable":true},"name":{"order":1,"renderable":true},"lastname":{"order":2,"renderable":true},"phone":{"order":3,"renderable":true},"age":{"order":4,"renderable":true}},"currentPage":1,"pageSize":25,"totals":null,"sorters":{"id":"DESC"}},"state":{"gridView":"__all__","filters":[],"columns":{"id":{"order":0,"renderable":true},"name":{"order":1,"renderable":true},"lastname":{"order":2,"renderable":true},"phone":{"order":3,"renderable":true},"age":{"order":4,"renderable":true}},"currentPage":1,"pageSize":25,"totals":null,"sorters":{"id":"DESC"}},"gridViews":{"views":[{"name":"__all__","label":"__all__","icon":"fa-table","appearanceType":"grid","appearanceData":[],"type":"system","filters":[],"sorters":[],"columns":[],"editable":false,"deletable":false,"is_default":false,"shared_by":null}],"gridName":"app-resumes-grid","permissions":{"VIEW":true,"CREATE":true,"EDIT":true,"DELETE":true,"SHARE":true,"EDIT_SHARED":true}},"filters":[{"name":"id","label":"ID","choices":[{"attr":[],"label":"equals","value":"3","data":3},{"attr":[],"label":"not equals","value":"4","data":4},{"attr":[],"label":"equals or greater than","value":"1","data":1},{"attr":[],"label":"greater than","value":"2","data":2},{"attr":[],"label":"equals or less than","value":"5","data":5},{"attr":[],"label":"less than","value":"6","data":6},{"attr":[],"label":"is any of","value":"9","data":9},{"attr":[],"label":"is not any of","value":"10","data":10},{"attr":[],"label":"is empty","value":"filter_empty_option","data":"filter_empty_option"},{"attr":[],"label":"is not empty","value":"filter_not_empty_option","data":"filter_not_empty_option"}],"type":"number","enabled":true,"visible":true,"translatable":true,"force_like":false,"case_insensitive":true,"min_length":0,"max_length":9223372036854775807,"lazy":false,"formatterOptions":{"decimals":0,"grouping":false,"orderSeparator":"","decimalSeparator":","},"arraySeparator":",","arrayOperators":[9,10],"dataType":"data_integer","cacheId":null},{"name":"name","label":"Name","choices":[{"attr":[],"label":"contains","value":"1","data":1},{"attr":[],"label":"does not contain","value":"2","data":2},{"attr":[],"label":"is equal to","value":"3","data":3},{"attr":[],"label":"starts with","value":"4","data":4},{"attr":[],"label":"ends with","value":"5","data":5},{"attr":[],"label":"is any of","value":"6","data":6},{"attr":[],"label":"is not any of","value":"7","data":7},{"attr":[],"label":"is empty","value":"filter_empty_option","data":"filter_empty_option"},{"attr":[],"label":"is not empty","value":"filter_not_empty_option","data":"filter_not_empty_option"}],"type":"string","enabled":true,"visible":true,"translatable":true,"force_like":false,"case_insensitive":true,"min_length":0,"max_length":9223372036854775807,"lazy":false,"cacheId":null},{"name":"lastname","label":"Lastname","choices":[{"attr":[],"label":"contains","value":"1","data":1},{"attr":[],"label":"does not contain","value":"2","data":2},{"attr":[],"label":"is equal to","value":"3","data":3},{"attr":[],"label":"starts with","value":"4","data":4},{"attr":[],"label":"ends with","value":"5","data":5},{"attr":[],"label":"is any of","value":"6","data":6},{"attr":[],"label":"is not any of","value":"7","data":7},{"attr":[],"label":"is empty","value":"filter_empty_option","data":"filter_empty_option"},{"attr":[],"label":"is not empty","value":"filter_not_empty_option","data":"filter_not_empty_option"}],"type":"string","enabled":true,"visible":true,"translatable":true,"force_like":false,"case_insensitive":true,"min_length":0,"max_length":9223372036854775807,"lazy":false,"cacheId":null},{"name":"phone","label":"Phone","choices":[{"attr":[],"label":"equals","value":"3","data":3},{"attr":[],"label":"not equals","value":"4","data":4},{"attr":[],"label":"equals or greater than","value":"1","data":1},{"attr":[],"label":"greater than","value":"2","data":2},{"attr":[],"label":"equals or less than","value":"5","data":5},{"attr":[],"label":"less than","value":"6","data":6},{"attr":[],"label":"is any of","value":"9","data":9},{"attr":[],"label":"is not any of","value":"10","data":10},{"attr":[],"label":"is empty","value":"filter_empty_option","data":"filter_empty_option"},{"attr":[],"label":"is not empty","value":"filter_not_empty_option","data":"filter_not_empty_option"}],"type":"number","enabled":true,"visible":true,"translatable":true,"force_like":false,"case_insensitive":true,"min_length":0,"max_length":9223372036854775807,"lazy":false,"formatterOptions":{"decimals":0,"grouping":false,"orderSeparator":"","decimalSeparator":","},"arraySeparator":",","arrayOperators":[9,10],"dataType":"data_integer","cacheId":null},{"name":"age","label":"Age","choices":[{"attr":[],"label":"equals","value":"3","data":3},{"attr":[],"label":"not equals","value":"4","data":4},{"attr":[],"label":"equals or greater than","value":"1","data":1},{"attr":[],"label":"greater than","value":"2","data":2},{"attr":[],"label":"equals or less than","value":"5","data":5},{"attr":[],"label":"less than","value":"6","data":6},{"attr":[],"label":"is any of","value":"9","data":9},{"attr":[],"label":"is not any of","value":"10","data":10},{"attr":[],"label":"is empty","value":"filter_empty_option","data":"filter_empty_option"},{"attr":[],"label":"is not empty","value":"filter_not_empty_option","data":"filter_not_empty_option"}],"type":"number","enabled":true,"visible":true,"translatable":true,"force_like":false,"case_insensitive":true,"min_length":0,"max_length":9223372036854775807,"lazy":false,"formatterOptions":{"decimals":0,"grouping":false,"orderSeparator":"","decimalSeparator":","},"arraySeparator":",","arrayOperators":[9,10],"dataType":"data_integer","cacheId":null}],"columns":[{"label":"ID","style":"integer","type":"integer","translatable":true,"editable":false,"shortenableLabel":true,"name":"id","order":0,"renderable":true,"sortable":true},{"label":"Name","type":"string","translatable":true,"editable":false,"shortenableLabel":true,"name":"name","order":1,"renderable":true,"sortable":true},{"label":"Lastname","type":"string","translatable":true,"editable":false,"shortenableLabel":true,"name":"lastname","order":2,"renderable":true,"sortable":true},{"label":"Phone","style":"integer","type":"integer","translatable":true,"editable":false,"shortenableLabel":true,"name":"phone","order":3,"renderable":true,"sortable":true},{"label":"Age","style":"integer","type":"integer","translatable":true,"editable":false,"shortenableLabel":true,"name":"age","order":4,"renderable":true,"sortable":true}],"gridParams":[],"enableFloatingHeaderPlugin":false},"data":{"data":[{"id":2,"name":"Martin","lastname":"Asd","phone":6597979,"age":29,"action_configuration":{"update":false,"delete":false}},{"id":1,"name":"Marcos","lastname":"Prosperi","phone":1169560852,"age":30,"action_configuration":{"update":false,"delete":false}}],"options":{"hideToolbar":false,"totalRecords":2,"totals":[]}},"enableFilters":true,"enableToggleFilters":true,"filterContainerSelector":null,"filtersStateElement":null,"enableViews":true,"showViewsInNavbar":false,"showViewsInCustomElement":false,"inputName":"app-resumes-grid","themeOptions":[],"toolbarOptions":[],"gridViewsOptions":[],"gridBuildersOptions":[]}
不显示数据网格