Has anyone tried to set a common header text of more than one column in flexigrid?
For example: I would like to label/group second and third columns with text "Received" and fourth and last column wit text "Sent".
<script type="text/javascript">
$("#flex1").flexigrid({
url: 'data.xml',
dataType: 'xml',
colModel : [
{display: 'Ports', name : 'port', width : 40, sortable : true},
{display: 'Bytes', name : 'rx_bytes', width : 40, sortable : true},
{display: 'Packets', name : 'rx_pkts', width : 40, sortable : true},
{display: 'Bytes', name : 'tx_bytes', width : 40, sortable : true},
{display: 'Packets', name : 'tx_pkts', width : 40, sortable : true},
],
usepager: false,
useRp: true,
width: 626,
height: 200
});
Such a functionality is satisfied by AdvancedDataGrid in Flex (e.g. http://livedocs.adobe.com/flex/3/html/images/simpleColumnGroupbwg.png) where you can create GroupColumns. Does anyone know if such a functionality is supported by Flexigrid?