Upload and file name position in the edit dialog

QuestionsUpload and file name position in the edit dialog
Massimo Gagliardi asked 8 years ago

Hi Abu,
Is't possible to have, in the column regarding uploaded files, the button before the file name instead the reverse?
Thanks in advance
Massimo Gagliardi

2 Answers
Abu Ghufran answered 8 years ago

Edit jqgrid_dist.php and replace append to prepend.

Replace:

jQuery(o).parent().append("<input type='button' value='Reset'
jQuery(el).parent().append("<input type='button' value='Reset'

to

jQuery(o).parent().prepend("<input type='button' value='Reset'
jQuery(el).parent().prepend("<input type='button' value='Reset'

Massimo answered 8 years ago

Perfect!
Thank you

Your Answer

20 + 15 =

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?