I’ve modified the sample code but no data appears. I do have the areas for the grid and pivot and I have the buttons but no data. Does anyone know why?
<div>
<input type="button" name="a1" value="show external pivot" onClick="mygrid.makePivot('gridboxP')" />
<input type="button" name="a1" value="show pivot" onClick="mygrid.makePivot()" />
<input type="button" name="a1" value="hide pivot" onClick="mygrid.hidePivot()" />
</div>
<div id="gridbox" style="width:600px;height:270px;background-color:white;"></div>
<div>
<input type="button" name="a1" value="limited field set" onClick="mygrid.makePivot('gridboxP',{column_list:[null,'Title','Author','Money']})" />
<input type="button" name="a1" value="predefined set" onClick="mygrid.makePivot('gridboxP',{x:1,y:2,value:3,action:0})" />
<input type="button" name="a1" value="predefined set + readonly" onClick="mygrid.makePivot('gridboxP',{x:1,y:2,value:3,action:0,readonly:true})" />
</div>
<div id="gridboxP" style=" width:600px; height:270px; background-color:white; background-color:silver;"></div>