The trick is the usage of rowpos
and colpos
properties of formoptions. In the answer you can find the demo which demonstrate the technique.
If you have really many columns it could be not enough place on the screen even after the usage of multiple columns. In the case you can restrict the height of the Add/Edit form by usage of dataheight
option. The disadvantage of the approach is the setting of explicit value of height
CSS style on the data part of the editing form. The better way is setting of max-height
which value you can calculate based on the screen resolution. For example you can make the changes inside of beforeShowForm callback
beforeShowForm: function ($form) {
$form.css({"max-height": 0.70*screen.height + "px"});
}
The demo demonstrate the approach. In the same way you can set max-width
too.

To show the results I used both dataheight
and beforeShowForm
. In the final solution you should remove the dataheight
part of the settings.