View Record box size

QuestionsView Record box size
Darryl Brady asked 4 years ago

How can you control the size of the View Record box when it opens?

I would like to lock the size so its more like a record card..

Also can a background picture be used in the View Record box?
Each record has a field for Picture and I would like to show it on the View Record at a set size or as the background….

Any suggestions or examples of what others have would be great!

2 Answers
Darryl Brady answered 4 years ago

Found Answer to size options…

Increase view dialog width or height for proper display.
e.g.
$grid["view_options"]['width']='500';
$g->set_options($grid);

Still looking for option to show image on the View Record box!

Abu Ghufran answered 4 years ago

You can use following with column. You can also use {column_name} placeholder inside

$col["default"] = "<img src='abc.jpg'>";

Refer demos/appearance/image.php

Your Answer

16 + 5 =

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 / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!