Hi,
I built a page with a lot of columns (most are hidden) but when I click the "Columns" in footer to make the user reveal columns, a very tall list comes.
I am using the free edition now. Is it possible to divide content of the "Columns" into columns ?
4 Answers
You can try following changes.
1) open jqgrid_dist.php
change jQuery("#<?php echo $grid_id?>").jqGrid('setColumns');
to jQuery("#<?php echo $grid_id?>").jqGrid('setColumns',{width:300});
2) add following style in html part.
<style>
.ColTable tr {
display: block;
float: left;
width: 100px;
}
</style>
You can try changing values of 300 and 100 as per your need.
And also the database column names are written in brackets. How can I hide them?
Your Answer