B4J Tutorial SithasoDaisy TailwindCSS UI Toolkit: Q & A

Mashiane

Expert
Licensed User
Longtime User
This code is a shortcut to download a text file

Try this code (not tested)

B4X:
dim pdfFile As BANanoObject = banano.await(sduishared.FetchAsFile("https://www.mywebsite.com/public/pdf", "about.pdf"))
SDUIShared.DownloadBlob(pdfFile, "result.pdf")
 

giannimaione

Well-Known Member
Licensed User
Longtime User
dim pdfFile As BANanoObject = banano.await(sduishared.FetchAsFile("https://www.mywebsite.com/public/pdf", "about.pdf")) SDUIShared.DownloadBlob(pdfFile, "result.pdf")
a little trick
B4X:
dim myPath = "https://www.mywebsite.com/public/pdf/"
dim myPDF = "about.pdf"
SDUIShared.OpenURLTab(myPath & myPDF) 'open pdf into new page of browser
 

Enrico Fuoti

Active Member
Licensed User
Longtime User
Hello Mashiane,
Is there a way to add and/or retrieve the users avatars in Sithaso from pocketbase?
I couldn't find any example about this.
 

sdleidel

Active Member
Licensed User
Longtime User
Hi, is there a way to adjust the search field of the tables quasi the column of also the buttons in it are of the size?

This does not fit on mobile devices ...

 

Mashiane

Expert
Licensed User
Longtime User
Hi, is there a way to adjust the search field of the tables quasi the column of also the buttons in it are of the size?

This does not fit on mobile devices ...

View attachment 158681
Also instead of using a table for mobile devices, rather use the grid view.

See this example

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…