Control the size of jqgrid dialog

sshivanna
sshivanna used Ask the Experts™
on
Hi,

 I am using jqgrid to represent data from the database in a tabular format. When I select a row and click the edit button, a dialog opens up to show the editable fields. However, the dialog box is only 300px wide. Is there an option to provide in the jqgrid definition that controls the size of the grid?

 Please help.

Thank you
Sharath
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
leakim971Multitechnician
Top Expert 2014

Commented:
Multitechnician
Top Expert 2014
Commented:

Author

Commented:
Thank you. That worked..!!!
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

leakim971Multitechnician
Top Expert 2014

Commented:
You're very welcome! Thanks for the points!

Author

Commented:
I am trying to edit the changes and commit to the database from this dialog. And I get a message 'No URL is set'. What would you recommend me on how to fix it?
leakim971Multitechnician
Top Expert 2014

Commented:
set the url properties too, same page, check the properties
leakim971Multitechnician
Top Expert 2014

Commented:
You can define this url directly in the jqgrid options too :

$("#grid").jqGrid({editurl:"edit.php",....other options

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial