Now you can have a grouped headers in phpgrid control. It would help in categorizing your related columns. See screenshot.
The grid configuration is fairly simple, by calling following function with desired parameters.
// group columns header $g->set_group_header( array( "useColSpanStyle"=>true, "groupHeaders"=>array( array( "startColumnName"=>'name', // group starts from this column "numberOfColumns"=>2, // group span to next 2 columns "titleText"=>'Personal Information' // caption of group header ), array( "startColumnName"=>'company', // group starts from this column "numberOfColumns"=>2, // group span to next 2 columns "titleText"=>'Company Details' // caption of group header ) ) ) );
This feature is part of premium version and onwards. Customers (with license) can get latest build by sending an email request at [email protected].