Grid 同步融合网格&x27;s过滤器不工作,数据未按预期显示
在syncfusion网格中,过滤器显示正确和预期的过滤器。但是在打开和关闭一个模式之后,它给出了一个错误,并且过滤器中显示的数据被挂起,并且只显示最后单击的过滤器数据 错误显示为:Grid 同步融合网格&x27;s过滤器不工作,数据未按预期显示,grid,syncfusion,Grid,Syncfusion,在syncfusion网格中,过滤器显示正确和预期的过滤器。但是在打开和关闭一个模式之后,它给出了一个错误,并且过滤器中显示的数据被挂起,并且只显示最后单击的过滤器数据 错误显示为: Uncaught TypeError: Cannot read property '_expands' of undefined at t.excelFilter._processListData (ej.web.all.min.js:10) at t.excelFilter.openXFDialo
Uncaught TypeError: Cannot read property '_expands' of undefined
at t.excelFilter._processListData (ej.web.all.min.js:10)
at t.excelFilter.openXFDialog (ej.web.all.min.js:10)
at Object._mouseClickHandler (ej.web.all.min.js:10)
at HTMLDivElement.<anonymous> (ej.web.all.min.js:10)
at HTMLDivElement.dispatch (jquery-3.2.1.min.js:3)
at a (ej.web.all.min.js:10)
at HTMLDivElement.s (ej.web.all.min.js:10)
at HTMLDivElement.dispatch (jquery-3.2.1.min.js:3)
at HTMLDivElement.q.handle (jquery-3.2.1.min.js:3)
Uncaught TypeError:无法读取未定义的属性“\u expansed”
在t.excelFilter.\u processListData(ej.web.all.min.js:10)
在t.excelFilter.openXFDialog(ej.web.all.min.js:10)
at Object.\u mouseClickHandler(ej.web.all.min.js:10)
在HTMLDEVELENT。(ej.web.all.min.js:10)
在htmldevelment.dispatch(jquery-3.2.1.min.js:3)
在a(ej.web.all.min.js:10)
在htmldevelment.s(ej.web.all.min.js:10)
在htmldevelment.dispatch(jquery-3.2.1.min.js:3)
位于htmldevelment.q.handle(jquery-3.2.1.min.js:3)
我尝试过很多不同的方法,比如将e-type设置为string,然后显示数据源,但似乎没有任何帮助。任何帮助都是非常好的
提前感谢根据您的查询,我们怀疑您在网格中执行过滤时遇到问题。在本文中,您还提到在打开和关闭一个模式后,它会给出错误,因此我们怀疑您在网格中使用了菜单过滤器或excel过滤器 因此,我们用excel过滤器准备了一个样本,并试图重现该问题,但我们最终没有面对上述问题 为方便起见,我们附上了样品,请查收样品以供参考 样本: 文件: 如果您仍然面临这个问题,请分享以下细节,这将有助于我们提供更好的解决方案
我必须在模式网格上使用gridObject.destroy()。这就解决了问题。谢谢你的回复和解决方案。