Uploading a spreadsheet to excel

9 views
Skip to first unread message

MadSmol Qwert

unread,
Apr 8, 2025, 8:44:07 AMApr 8
to ZnetDK
Pascal, hello! Could you provide a ready-made working example for uploading the contents of a spreadsheet in excel format? I can't figure out how it works from the textbook. Thanks!

ZnetDK

unread,
Apr 12, 2025, 9:49:42 AMApr 12
to ZnetDK
Hello,

You have a working example for uploading a picture in the ZnetDK demo App.
  • Go to the https://znetdk.fr/demonstration page and launch a demo App, 
  • Select the FORM demo menu and File upload submenu,
  • You can test upload feature and visualize source code in HTML and PHP.
As you want to upload an Excel file, you can:
  • Disable the display of the picture thumnbnail by adding the zdk-nothumbnail CSS class to your input file.
  • Add the accept attribute to your input file to limit file selection to Excel files.
See https://znetdk.fr/composants_graphiques#zdkinputfile for customization of the InputFile widget.

In addition, the demo App source codde is available on github at https://github.com/pascal-martinez/znetdk-demos.

Sincerely,
Pascal

Reply all
Reply to author
Forward
0 new messages