Thanks intregal
But I want the viewer for each type not only for png or jpg and in popup
Thanks intregal
But I want the viewer for each type not only for png or jpg and in popup
similarly for png,xlsx,csv and all viewer.
There is no ready solution, but it is possible for sure. You can use spreadsheet or excelviewer for xlsx and csv data, and you can use a common template view to preview png images.
The straight solution will be to use iframe, you can put it in the popup and load the clicked content there.
Thanks for reply.
But I want the viewer according to the types(like xlsx,csv,jpg,png,pdf).
Right now you are giving in iframe but I donโt want in ifram.
Please see the comments and click on list item you will get my requirement in snippet -
https://snippet.webix.com/0veyr9ma.
And I donโt want to download xlsx or csv file on list item click.
Thanks
For CSV file, if server side provides text/plan header it will be shown in iframe as a common text file.
For XSLX you really need a separate UI.
You can combine both solution, and for all formats except of XSLX show the popup with iframe, and for XSLX show a popup with ExcelViewer or with Spreadsheet.