Webix filemanager custom structure

Hi All,

I am using webix UI v.2.3.14 and as well as it’s component filemanager.

There is one issue that I’m facing. Once I embed file manager view inside any container of HTML. It seems I am unable to scroll the page. Please tell me is this a webix file manager issue or I’m missing something.

And one more thing I would like to know about custom views for filemanager. I want to use file manager as it is except one thing. The thing is when i click on any folder I see both child folders and files. What if i want to see only files. Is there any filtration option for that. I ve searched it a lot but couldn’t find any solution.

Please help me out with these 2 things.

Thanks

There is known issue on touch devices. You can try to add the next code

webix.Touch.limit(true);

If problem occurs for desktop browsers, please share a demo link.

Hi,

To show only files please try the following:

function filterFiles(data){
   data.blockEvent();
   data.filter(function(item){
	return item.type != "folder"
   });
   data.unblockEvent();
}

fManager.$$("files").attachEvent("onBeforeRender", filterFiles);
fManager.$$("table").attachEvent("onBeforeRender", filterFiles);

Hi maksim ,

For some reason I am not able to share the link with you. But yeah it’s a dell latitude laptop browser.

Hi Maria ,

It worked perfectly. Thanks.

Hi,

We have found a problem with page scroll and filemanager in custom container.

The fix will be available in the next update. If you have a valid support subscription and need the solution ASAP, please open a ticket in the members’ area.

Hi Maria, Thanks for the update.

Can you please update me on the scroll issue? I don’t have support subscription. I will be needing the solution here.

Webix 3.0 was just released. This version must contain a fix for the above issue.

Okay. Let me see and get back to you.
Thanks