ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: tinblue on September 17, 2021, 06:39:28 pm

Title: File Upload example?
Post by: tinblue on September 17, 2021, 06:39:28 pm
Is there not an example anywhere of uploading a file into a grid row?
Title: Re: File Upload example?
Post by: paramvir on September 20, 2021, 10:07:49 am
Excel ( xlsx ) and csv files can be uploaded and imported into the grid.

Example: https://paramquery.com/pro/demos/import-xlsx
Title: Re: File Upload example?
Post by: hyh888 on October 12, 2021, 01:41:34 pm
In this example(Example: https://paramquery.com/pro/demos/import-xlsx),upload button is on toolbar. Is there an example which can upload file in cells? Sometime there is a need to upload photo into a cell and the picture is not enabled to  be dragged and dropped into other cell.
Title: Re: File Upload example?
Post by: paramvir on October 12, 2021, 10:53:13 pm
In the same example, there is an image upload button. First select the cell, then add/upload image to that cell.

As of now, drag and drop of images can't be disabled.
Title: Re: File Upload example?
Post by: hyh888 on October 13, 2021, 06:19:21 am
I tried the img-upload button, and it really makes trouble for that the uploaded picture can be dragged to anywhere. It is not upload-to-a-cell, it's uploaded-to-the-table. Can you add the feature of  uploading-pic-to- cell and the linkage of the picture can be stored in the attribute of the cell?  Here is an example from jspreadsheet's open-source version with the hoped feature--   https://bossanova.uk/jspreadsheet/v4/examples/image-upload. This is its github linkage:https://github.com/jspreadsheet/ce.
Title: Re: File Upload example?
Post by: hyh888 on October 13, 2021, 06:26:25 am
The file-upload and picture-upload function should belong to cell or column( instead of only for table), it will make pqGrid more powerful.
Title: Re: File Upload example?
Post by: paramvir on October 13, 2021, 11:28:48 am
I agree with with you, thanks for your feedback, upload image to cell would be added to one of the next upcoming versions.