Difference spreadsheet.load "csv" "xlsx"

When i load an xlsx, the component ask me for an external file.
spreadsheet.load(“”, “xlsx”)

When i load a csv, the component doesn’t ask me for an external file.
spreadsheet.load(“”, “csv”)

it seem the first parameter must contain a csv file on server side but not client side
spreadsheet.load(“https://snippet.dhtmlx.com/codebase/data/spreadsheet/01/dataset.csv”, “csv”)

is there a way to have the same functionnality : choosing a local csv file then putting it in the spreadsheet ?

Unfortunately it is not available to use the same approach the “csv” file loading.
You can only define the url to csv file on your server for its loading.