View dimensions

QuestionsView dimensions
Igor asked 11 years ago

Hi,
I tried to set up dimensions of view dialog like
$grid["view_options"]["width"]="750";
$grid["view_options"]["height"]="500";
$g->set_options($grid);
but nothing happen. Any idea?

1 Answers
Abu Ghufran answered 11 years ago

Hello,

This works fine. When you set it and click on 'View' icon in toolbar:

http://tinyurl.com/lsamd8s

You also need to set: "view"=>true, … e.g.

$g->set_actions(array(
"add"=>false, // allow/disallow add
"edit"=>true, // allow/disallow edit
"view"=>true, // allow/disallow view
"delete"=>false, // allow/disallow delete
"rowactions"=>true, // show/hide row wise edit/del/save option
"export"=>true, // show/hide export to excel option
"autofilter" => true, // show/hide autofilter for search
"search" => "advance" // show single/multi field search condition (e.g. simple or advance)
)
);

Your Answer

5 + 11 =

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

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?