grid specified height doesn't work

Questionsgrid specified height doesn't work
Cristian Engelmann asked 1 year ago

Hi Abu,

 

I have another problem is the height of the grid.

The new version does not honor the grid specified height.

 

CODE

$opt = array();

$opt[“caption”] = “Ordenes de Compras seleccionadas”;

$opt[“sortname”] = ‘n_ordencompra’;

$opt[“sortorder”] = “asc”;

$opt[“width”] = “573”;

$opt[“height”] = “123”;

$opt[“rowNum”] = 40;

$opt[“altRows”] = true;

I sent you the images to email.

Please help me again

2 Answers
Abu Ghufran Staff answered 1 year ago

The minimum height is set to 200px. You can override it by setting onpage css style after the inclusion of css files.

<style>
.ui-jqgrid .ui-jqgrid-bdiv{min-height:100px}
</style>

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Cristian Engelmann answered 1 year ago

Hi Abu,

It’s working

Thank you very much!!

Your Answer

20 + 16 =

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?