PHP Generator Feature Demo
  • Themes
    • Default
    • Default compact
    • Cerulean
    • Cerulean compact
    • Cosmo
    • Cyborg
    • Darkly
    • Darkly compact
    • Facebook
    • Flatly
    • Journal
    • Lumen
    • Paper
    • Readable
    • Sandstone
    • Simplex
    • Slate
    • Slate compact
    • Spacelab
    • Superhero
    • Superhero compact
    • United
    • United compact
    • Yeti
    • Yeti compact
  • English
    • German
    • Brazilian
    • Czech
    • Danish
    • Spanish
    • Finnish
    • French
    • Hungarian
    • Italian
    • Dutch
    • Polish
    • Russian
    • Swedish
    • Slovak
    • Slovenian
    • Serbian
    • Turkish
    • Arabic
  • Learn more
    • PHP Generator Feature Demo
    • About this demo
    • Download project file for this demo
    • Check out other PHP Generator demos
    • NBA Database Demo
    • Security Demo
    • MySQL Schema Browser Demo
    • Learn more about our products
    • Try PHP Generator for free
    • SQL Maestro Group website
    • Follow us
    • Facebook
    • Twitter
    • YouTube
  • Recently added/updated
    • Grid Toolbar
    • Tabbed Forms
    • Stepped Area Chart
    • Candlestick Chart
    • Histogram Chart
    • Bubble Chart
    • Timeline Chart
    • Gantt Chart
    • Scatter Chart
    • Tree Map Chart
    • Export options
    • Invoice generation
    • Inline Button
    • HTML Wysiwyg
    • Watermarks
  • Data Grid
    • Table View
    • Card View
    • Autohiding Columns
    • Totals
    • Grid Header
    • Column Grouping
    • Record Comparison
    • Unicode Support
    • RSS
    • Custom Drawing
    • Custom Table Template
    • Custom Card Template
    • Custom Toolbar Template
    • Custom View Form
  • Grid Columns
    • Column Types
    • Text Truncating
    • Column Fixed Width
    • Formatting
    • Null Label
    • Hyperlinks
    • Html Display
    • Lookup Data View
    • Custom Rendering
  • Grid Options
    • Fixed Grid Width
    • Fixed Column Header
    • Bordered Table
    • Condensed Table
    • Line Numbers
    • Control Buttons Position
  • Data Sources
    • Table
    • View
    • Non-Updatable Query
    • Updatable Query
    • Updatable View
  • Master-Detail Views
    • Master/Detail Basics
    • Multiple Details
    • Nested Details
    • Card Mode Details
  • Data Input Forms
    • Separate Page
    • Modal Window
    • Inline Editing
    • Form Layouts
    • Tabbed Forms
    • Custom Separate Page
    • Custom Modal Dialog
    • Custom Inline Form
    • Wizard Form
    • Adding multiple records
    • Editors Overview
    • Validation
    • Client-side API
    • Dependent Lookups
    • On-the-Fly Adding
    • Quick Edit
    • Multi Edit
    • Custom Default Values
  • Editors
    • Text
    • Autocomplete
    • Text Area
    • HTML Wysiwyg
    • Spin & Range
    • Upload To Folder
    • Radio Group
    • Combobox
    • Dynamic Combobox
    • Cascading Combobox
    • Dynamic Cascading Combobox
    • Multiple Select
    • Checkbox Group
    • Common Properties
  • Data Filtering
    • Quick Filter
    • Filter Builder
    • Column Filter
    • Preliminary Filter
    • Selection Filters
    • Custom Filter - 1
    • Custom Filter - 2
  • Sorting
    • Sort By Click
    • Sort By Dialog
    • Default Sort Order
  • Partitioning
    • Range
    • List
    • Custom
  • Exporting & Printing
    • Grid
    • Single Record
    • Export Options
    • Custom Grid
    • Custom Single Record
    • User Defined Styles
  • Image Management
    • Image Galleries
    • Thumbnails
    • Linked Images
    • Multi Upload - 1
    • Multi Upload - 2
    • Watermarks
  • Charts
    • Pie Chart
    • Column Chart
    • Bar Chart
    • Line Chart
    • Area Chart
    • Geo Charts
    • Stepped Area
    • Candlestick
    • Histogram
    • Bubble
    • Timeline
    • Gantt
    • Scatter
    • Tree Map
    • Multiple Charts
    • Chart Placement
    • Customizing Charts
    • Dashboard
  • Many-to-Many Relations
    • Classic Junction Table
    • Handling Extra Columns
  • Fine-tuning & Tweaking
    • Custom Icons
    • Custom Theme
    • Custom Editor
    • Page Embedding
    • Ajax-based Validation
    • Color Themes
    • Barcodes Generation
    • Inline Button
    • Conditional Details
    • Using Ajax in Forms
  • Emailing
    • Basic Usage
    • Advanced Usage
  • Calculated Columns
    • Example - 1
    • Example - 2
  • Custom Templates
    • Grid View
    • Card View
    • Grid Toolbar
    • Single Record View
    • Separate Page Editing
    • Modal Dialog Editing
    • Inline Form Editing
    • Wizard Form
    • Custom Filter - 1
    • Custom Filter - 2
    • Export & Print: Data Grid
    • Invoice generation
  1. Data Grid
  2. Data Grid.Column Grouping
    • Table View
    • Card View
    • Autohiding Columns
    • Totals
    • Grid Header
    • Record Comparison
    • Unicode Support
    • RSS
    • Custom Drawing
    • Custom Table Template
    • Custom Card Template
    • Custom Toolbar Template
    • Custom View Form

Data Grid.Column Grouping

Page settings

Appearance

Here you can select the number of cards to be placed in a row for each of supported screen resolutions. Your current resolution is highlighted in this way.

Page size

Total record count: 200.

page(s).
Cancel Save changes
×

Data grid provides the ability to organize columns in logical groups and display them using multi-row header representation. A column group is visually represented by a header displayed above the headers of the columns it combines. Each group can contain data columns as well as other groups.

If auto-hiding columns are defined, a group disappears when all its columns become invisible. If you are on a desktop, reduce the size of the browser window to see this feature in action.

To define column groups for a page, specify the OnGetCustomColumnGroup event. Click the button to see how column grouping has been defined for the example below.

  • «
  • 1
  • 2
  • 3
  • 4
  • ...
  • 10
  • »
Add new
Refresh
Export
  • Export to Pdf
  • Export to Excel
  • Export to Word
  • Export to Xml
  • Export to Csv
Print
  • Print current page
  • Print all pages
  • Clear
  • Selection filter
    • Show selected only
    • Show unselected only
    • Show all
  • Export
    • Export to Pdf
    • Export to Excel
    • Export to Word
    • Export to Xml
    • Export to Csv
  • Print
  • Update
        protected function doGetCustomColumnGroup(FixedKeysArray $columns, ViewColumnGroup $columnGroup)
        {
            $columnGroup->add(new ViewColumnGroup('Common info',
                array(
                    $columns['id'],
                    $columns['title'],
                    $columns['release_date']
                )
            ));
            $columnGroup->add(new ViewColumnGroup('Addtional info',
                array(
                    new ViewColumnGroup('Texts',
                        array(
                            $columns['genre_id'],
                            $columns['original_title'],
                            $columns['original_language_id']
                        )
                    ),
                    new ViewColumnGroup('Numbers',
                        array(
                            $columns['runtime'],
                            $columns['rating']
                        )
                    )
                )
            ));
        }

 
Actions Common info Addtional info
Texts Numbers
Id Title Release Date Genre Original Title Original Language Runtime Rating
68737 Seventh Son 2014-12-12 Adventure Seventh Son English 102 5.11
72784 The Loft 2014-10-14 Thriller The Loft English 108 6.47
75656 Now You See Me 2013-05-29 Thriller Now You See Me English 115 7.23
76203 12 Years a Slave 2013-10-18 Drama 12 Years a Slave English 134 7.83
76338 Thor: The Dark World 2013-10-29 Adventure Thor: The Dark World English 112 6.85
76341 Mad Max: Fury Road 2015-05-13 Adventure Mad Max: Fury Road English 120 7.31
76757 Jupiter Ascending 2015-02-04 Adventure Jupiter Ascending English 124 5.31
82702 How to Train Your Dragon 2 2014-06-12 Adventure How to Train Your Dragon 2 English 102 7.78
87101 Terminator Genisys 2015-06-23 Adventure Terminator Genisys English 125 5.98
98566 Teenage Mutant Ninja Turtles 2014-08-07 Adventure Teenage Mutant Ninja Turtles English 101 5.93
99861 Avengers: Age of Ultron 2015-04-22 Adventure Avengers: Age of Ultron English 141 7.42
100402 Captain America: The Winter Soldier 2014-03-20 Adventure Captain America: The Winter Soldier English 136 7.59
101299 The Hunger Games: Catching Fire 2013-11-15 Adventure The Hunger Games: Catching Fire English 146 7.45
102899 Ant-Man 2015-07-14 Adventure Ant-Man English 115 6.91
105864 The Good Dinosaur 2015-11-14 Adventure The Good Dinosaur English 93 6.44
106646 The Wolf of Wall Street 2013-12-25 Drama The Wolf of Wall Street English 180 7.92
109445 Frozen 2013-11-27 Adventure Frozen English 102 7.53
112160 Sexual Chronicles of a French Family 2012-05-09 Drama Chroniques sexuelles d'une famille d'aujourd'hui French 81 3.63
118340 Guardians of the Galaxy 2014-07-30 Adventure Guardians of the Galaxy English 121 8.00
119450 Dawn of the Planet of the Apes 2014-06-26 Drama Dawn of the Planet of the Apes English 130 7.43
There are no records to display

Multiple Sort

Column Order

Filter builder

  • «
  • 1
  • 2
  • 3
  • 4
  • ...
  • 10
  • »

About this demo

This demo application contains 100+ pages and illustrates most of features provided by PHP Generator. Hope it will help you to create even more powerful websites for your users.

You can download the demo project from our website and run the demo on your webserver as described in readme.txt.

Download PHP Generator Free Trial

Legend
New Recently added or significantly updated pages.
Pro Pages illustrating features available only in the Professional edition of PHP Generator.

© 2002- SQL Maestro Group. Follow us:

Created with PHP Generator for MySQL. Want to learn more? Download the demo project!

Change your password

Change password for user ''

Passwords do not match. Please try again.

Close Change password