Steps to reproduce:
- Open the sample: https://codepen.io/LexDevExpress/pen/OJEXNJq?editors=0010
- Click the System folder.
- Scroll down to the bottom and select the last item.
- Expand the Documents folder.
- Click the Projects folder.
Expected results:
The Details View is loaded correctly.
Current results:
The Details View is loaded incorrectly.
Additional information:
You can use the following code to resolve the issue:
JavaScriptonContentReady(e){
const dg = e.component._itemView._filesView;
dg.on("optionChanged",function(arg){
if(arg.name==="dataSource"){
e.component.__dataSourceReloaded = true;
}
});
dg.on("contentReady",function(arg){
if(e.component.__dataSourceReloaded){
e.component.__dataSourceReloaded = false;
e.component.repaint();
}
});
}