How Do I Change the Default Header Behavior of a DataGrid?
This lesson describes, how to change the Default Header Behavior of a Datagrid, using the Data Grid Helper plugin.
Opening "Behaviors / Templates" topic
Adding a New Button
Opening the DGH's Behavior Picker
Moving the Mouse Pointer Over the New Button
Selecting the Behavior Button
Validating the Button Selection
Editing the Default Header Behavior Script
Installing Ready to Use Header Behavior Script
If you have no idea how to change the Behavior Script, DGH comes in it's current version (actually 1.6), with 4 ready to use scripts:
1. Reorder columns. This header script allows to rearange columns order by a drag & drop
2. Resize columns by double click: double click on a column separator for resizing the column width, depending of the max length of it's content.
3. Select column: gives the possibility to "hilite" a column (header and content) by clicking on it's header
4. Column label unicode encoding: by installing this script, the column header labels becomes unicode chars capable.