Change download path according to field value

QuestionsChange download path according to field value
1 Answers
Abu answered 1 week ago

You can move the uploaded file to the desired folder in the callback event, based on the value of the row posted data.

For ref: https://www.gridphp.com/demo/demos/editing/file-upload.phps
line 153-154: setting events
line 162-190: callback functions using row data.

Above code is just for sample, you need to code yourself about moving file in specific folder.

Your Answer

9 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?