Here is my Flexigrid:
$("#grUser").flexigrid({
url: 'someJSON.php'
, dataType: 'json'
, colModel :
[
{display: '', name : 'Index', width :100, align: 'left'}
, {display: '', name : 'Value', width : 100, align: 'left'}
]
, title: 'Details'
, width: 350
, height: 200
, singleSelect: true
});
The show / hide column function in the header is really cool, but I want to specify which column will be available , and I'm having trouble finding good documentation about what my options are when specifying colModel. Here
{display: '', name : 'Index', width :100, align: 'left'}
What else can we put in a column definition?
Optional - What is the documentation source for Flexigrid?
source
share