Hi,
Is it possible to reach and change input properties of Add or Edit Dialogs ?
Thanks
Hello,
Set Add and Edit form dialog width. This can be used with combination of css customization of dialog forms.
$grid["add_options"] = array('width'=>'420');
$grid["edit_options"] = array('width'=>'420');
Just like width in dialog options, you can also set other for e.g.
$grid["add_options"] = array('width'=>'420',
"closeAfterEdit"=>true, // close dialog after add/edit
"top"=>"200", // absolute top position of dialog
"left"=>"200" // absolute left position of dialog
);
Set Form to position on center of screen
$grid["form"]["position"] = "center";
Enable form Prev | Next record navigation
$grid["form"]["nav"] = true;
Refer demos/appearence/dialog-layout.php for demo.
I get it wrong again. Please ignore last reply.
I will be sending you in another email thread.
Hi Abu,
Thank you very much for your reply.
Is it also possible to change color or format or with of field inputs in Add and Edit Form Dialog?
Regards…
Hi Abu,
Thank you very much for your reply.
Is it also possible to change color or format or width of field inputs in Add and Edit Form Dialog?
Regards…
Yes, you can set using css. for e.g.
<style>
.FormGrid .EditTable .FormData input.DataTD
{
width: 125px;
}
</style>
You can inspect more using firebug.