volosoft / jtable

A JQuery plugin to create AJAX based CRUD tables.
http://www.jtable.org
1.1k stars 506 forks source link

Layout of dialog box #1082

Open SoumitaDas opened 10 years ago

SoumitaDas commented 10 years ago

Hi, Currently the layout of the dialog box which appears at the time of create new record/edit record in Jtable is a flow layout. For my application I want it in grid layout. Is there any way to make it so?

shekharquexst commented 10 years ago

Hi SoumitaDas, About what are you asking? JTable in JAVA or jquery-jtable?

SoumitaDas commented 10 years ago

Hi, I am referring about jquery-jtable. In the demos given for jquery-jtable,when we click on the add new record/ update record,the pop-up or dialog box which appears is in flow layout. I want that pop up or dialog box in grid layout.

shekharquexst commented 10 years ago

Sorry, i also had this requirement but i didnt find any solution.... but you can do it by creating your own forms rather than using jtable's forms..

mohamedpsx commented 10 years ago

hello, thanks for this informations.

@shekharquexst do you mind if i ask you how create your own form to work with jtable? any examples ?

i have a problem with the dialog box, it is always positioned in the corner of my application.

Thank you

shekharquexst commented 10 years ago

hello mohamedpsx, simply create your forms in a div and keep this div hidden on your screen, whenever you want to display that form
just apply jquery dialog to it.

actually when i created dialog it automatically adjusted to center.... for more help read jquery api.... :) http://api.jqueryui.com/dialog/#option-position